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.SettingOvsPatch
Description
OvsPatch Link Settings
Synopsis
- newtype SettingOvsPatch = SettingOvsPatch (ManagedPtr SettingOvsPatch)
- class (GObject o, IsDescendantOf SettingOvsPatch o) => IsSettingOvsPatch o
- toSettingOvsPatch :: (MonadIO m, IsSettingOvsPatch o) => o -> m SettingOvsPatch
- settingOvsPatchGetPeer :: (HasCallStack, MonadIO m, IsSettingOvsPatch a) => a -> m Text
- settingOvsPatchNew :: (HasCallStack, MonadIO m) => m SettingOvsPatch
- clearSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> m ()
- constructSettingOvsPatchPeer :: (IsSettingOvsPatch o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> m Text
- setSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> Text -> m ()
Exported types
newtype SettingOvsPatch Source #
Memory-managed wrapper type.
Constructors
SettingOvsPatch (ManagedPtr SettingOvsPatch) |
Instances
Eq SettingOvsPatch Source # | |
Defined in GI.NM.Objects.SettingOvsPatch Methods (==) :: SettingOvsPatch -> SettingOvsPatch -> Bool # (/=) :: SettingOvsPatch -> SettingOvsPatch -> Bool # | |
GObject SettingOvsPatch Source # | |
Defined in GI.NM.Objects.SettingOvsPatch | |
ManagedPtrNewtype SettingOvsPatch Source # | |
Defined in GI.NM.Objects.SettingOvsPatch Methods toManagedPtr :: SettingOvsPatch -> ManagedPtr SettingOvsPatch # | |
TypedObject SettingOvsPatch Source # | |
Defined in GI.NM.Objects.SettingOvsPatch | |
HasParentTypes SettingOvsPatch Source # | |
Defined in GI.NM.Objects.SettingOvsPatch | |
IsGValue (Maybe SettingOvsPatch) Source # | Convert |
Defined in GI.NM.Objects.SettingOvsPatch Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingOvsPatch -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingOvsPatch) # | |
type ParentTypes SettingOvsPatch Source # | |
Defined in GI.NM.Objects.SettingOvsPatch |
class (GObject o, IsDescendantOf SettingOvsPatch o) => IsSettingOvsPatch o Source #
Type class for types which can be safely cast to SettingOvsPatch
, for instance with toSettingOvsPatch
.
Instances
(GObject o, IsDescendantOf SettingOvsPatch o) => IsSettingOvsPatch o Source # | |
Defined in GI.NM.Objects.SettingOvsPatch |
toSettingOvsPatch :: (MonadIO m, IsSettingOvsPatch o) => o -> m SettingOvsPatch Source #
Cast to SettingOvsPatch
, 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
settingOvsPatchGetPeer Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsPatch a) | |
=> a |
|
-> m Text | Returns: the SettingOvsPatch:peer property of the setting |
No description available in the introspection data.
Since: 1.10
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingOvsPatch | Returns: the new empty |
Creates a new SettingOvsPatch
object with default values.
Since: 1.10
Properties
peer
Specifies the name of the interface for the other side of the patch. The patch on the other side must also set this interface as peer.
Since: 1.10
clearSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> m () Source #
Set the value of the “peer
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#peer
constructSettingOvsPatchPeer :: (IsSettingOvsPatch 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
.
getSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> m Text Source #
Get the value of the “peer
” property.
When overloading is enabled, this is equivalent to
get
settingOvsPatch #peer
setSettingOvsPatchPeer :: (MonadIO m, IsSettingOvsPatch o) => o -> Text -> m () Source #
Set the value of the “peer
” property.
When overloading is enabled, this is equivalent to
set
settingOvsPatch [ #peer:=
value ]