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.SettingVeth
Description
Veth Settings
Synopsis
- newtype SettingVeth = SettingVeth (ManagedPtr SettingVeth)
- class (GObject o, IsDescendantOf SettingVeth o) => IsSettingVeth o
- toSettingVeth :: (MonadIO m, IsSettingVeth o) => o -> m SettingVeth
- settingVethGetPeer :: (HasCallStack, MonadIO m, IsSettingVeth a) => a -> m Text
- settingVethNew :: (HasCallStack, MonadIO m) => m SettingVeth
- clearSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> m ()
- constructSettingVethPeer :: (IsSettingVeth o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> m Text
- setSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> Text -> m ()
Exported types
newtype SettingVeth Source #
Memory-managed wrapper type.
Constructors
SettingVeth (ManagedPtr SettingVeth) |
Instances
Eq SettingVeth Source # | |
Defined in GI.NM.Objects.SettingVeth | |
GObject SettingVeth Source # | |
Defined in GI.NM.Objects.SettingVeth | |
ManagedPtrNewtype SettingVeth Source # | |
Defined in GI.NM.Objects.SettingVeth Methods | |
TypedObject SettingVeth Source # | |
Defined in GI.NM.Objects.SettingVeth | |
HasParentTypes SettingVeth Source # | |
Defined in GI.NM.Objects.SettingVeth | |
IsGValue (Maybe SettingVeth) Source # | Convert |
Defined in GI.NM.Objects.SettingVeth Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingVeth -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingVeth) # | |
type ParentTypes SettingVeth Source # | |
Defined in GI.NM.Objects.SettingVeth |
class (GObject o, IsDescendantOf SettingVeth o) => IsSettingVeth o Source #
Type class for types which can be safely cast to SettingVeth
, for instance with toSettingVeth
.
Instances
(GObject o, IsDescendantOf SettingVeth o) => IsSettingVeth o Source # | |
Defined in GI.NM.Objects.SettingVeth |
toSettingVeth :: (MonadIO m, IsSettingVeth o) => o -> m SettingVeth Source #
Cast to SettingVeth
, 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, getName, getPeer, getProperty, getQdata, getSecretFlags.
Setters
getPeer
Arguments
:: (HasCallStack, MonadIO m, IsSettingVeth a) | |
=> a |
|
-> m Text | Returns: the SettingVeth:peer property of the setting |
No description available in the introspection data.
Since: 1.30
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingVeth | Returns: the new empty |
Creates a new SettingVeth
object with default values.
Since: 1.30
Properties
peer
This property specifies the peer interface name of the veth. This property is mandatory.
Since: 1.30
clearSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> m () Source #
Set the value of the “peer
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#peer
constructSettingVethPeer :: (IsSettingVeth o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “peer
” property. This is rarely needed directly, but it is used by new
.
getSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> m Text Source #
Get the value of the “peer
” property.
When overloading is enabled, this is equivalent to
get
settingVeth #peer
setSettingVethPeer :: (MonadIO m, IsSettingVeth o) => o -> Text -> m () Source #
Set the value of the “peer
” property.
When overloading is enabled, this is equivalent to
set
settingVeth [ #peer:=
value ]