Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingLoopback
Description
Loopback Link Settings
Since: 1.42
Synopsis
- newtype SettingLoopback = SettingLoopback (ManagedPtr SettingLoopback)
- class (GObject o, IsDescendantOf SettingLoopback o) => IsSettingLoopback o
- toSettingLoopback :: (MonadIO m, IsSettingLoopback o) => o -> m SettingLoopback
- settingLoopbackGetMtu :: (HasCallStack, MonadIO m, IsSettingLoopback a) => a -> m Word32
- settingLoopbackNew :: (HasCallStack, MonadIO m) => m SettingLoopback
- constructSettingLoopbackMtu :: (IsSettingLoopback o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingLoopbackMtu :: (MonadIO m, IsSettingLoopback o) => o -> m Word32
- setSettingLoopbackMtu :: (MonadIO m, IsSettingLoopback o) => o -> Word32 -> m ()
Exported types
newtype SettingLoopback Source #
Memory-managed wrapper type.
Constructors
SettingLoopback (ManagedPtr SettingLoopback) |
Instances
Eq SettingLoopback Source # | |
Defined in GI.NM.Objects.SettingLoopback Methods (==) :: SettingLoopback -> SettingLoopback -> Bool # (/=) :: SettingLoopback -> SettingLoopback -> Bool # | |
GObject SettingLoopback Source # | |
Defined in GI.NM.Objects.SettingLoopback | |
ManagedPtrNewtype SettingLoopback Source # | |
Defined in GI.NM.Objects.SettingLoopback Methods toManagedPtr :: SettingLoopback -> ManagedPtr SettingLoopback # | |
TypedObject SettingLoopback Source # | |
Defined in GI.NM.Objects.SettingLoopback | |
HasParentTypes SettingLoopback Source # | |
Defined in GI.NM.Objects.SettingLoopback | |
IsGValue (Maybe SettingLoopback) Source # | Convert |
Defined in GI.NM.Objects.SettingLoopback Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingLoopback -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingLoopback) # | |
type ParentTypes SettingLoopback Source # | |
Defined in GI.NM.Objects.SettingLoopback |
class (GObject o, IsDescendantOf SettingLoopback o) => IsSettingLoopback o Source #
Type class for types which can be safely cast to SettingLoopback
, for instance with toSettingLoopback
.
Instances
(GObject o, IsDescendantOf SettingLoopback o) => IsSettingLoopback o Source # | |
Defined in GI.NM.Objects.SettingLoopback |
toSettingLoopback :: (MonadIO m, IsSettingLoopback o) => o -> m SettingLoopback Source #
Cast to SettingLoopback
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getMtu, getName, getProperty, getQdata, getSecretFlags.
Setters
getMtu
settingLoopbackGetMtu Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingLoopback a) | |
=> a |
|
-> m Word32 | Returns: the SettingLoopback:mtu property of the setting |
No description available in the introspection data.
Since: 1.42
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingLoopback | Returns: the new empty |
Creates a new SettingLoopback
object with default values.
Since: 1.42
Properties
mtu
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple Ethernet frames.
Since: 1.42
constructSettingLoopbackMtu :: (IsSettingLoopback o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mtu
” property. This is rarely needed directly, but it is used by new
.
getSettingLoopbackMtu :: (MonadIO m, IsSettingLoopback o) => o -> m Word32 Source #
Get the value of the “mtu
” property.
When overloading is enabled, this is equivalent to
get
settingLoopback #mtu
setSettingLoopbackMtu :: (MonadIO m, IsSettingLoopback o) => o -> Word32 -> m () Source #
Set the value of the “mtu
” property.
When overloading is enabled, this is equivalent to
set
settingLoopback [ #mtu:=
value ]