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.SimpleConnection
Description
No description available in the introspection data.
Synopsis
- newtype SimpleConnection = SimpleConnection (ManagedPtr SimpleConnection)
- class (GObject o, IsDescendantOf SimpleConnection o) => IsSimpleConnection o
- toSimpleConnection :: (MonadIO m, IsSimpleConnection o) => o -> m SimpleConnection
- simpleConnectionNew :: (HasCallStack, MonadIO m) => m Connection
- simpleConnectionNewClone :: (HasCallStack, MonadIO m, IsConnection a) => a -> m Connection
- simpleConnectionNewFromDbus :: (HasCallStack, MonadIO m) => GVariant -> m Connection
Exported types
newtype SimpleConnection Source #
Memory-managed wrapper type.
Constructors
SimpleConnection (ManagedPtr SimpleConnection) |
Instances
Eq SimpleConnection Source # | |
Defined in GI.NM.Objects.SimpleConnection Methods (==) :: SimpleConnection -> SimpleConnection -> Bool # (/=) :: SimpleConnection -> SimpleConnection -> Bool # | |
GObject SimpleConnection Source # | |
Defined in GI.NM.Objects.SimpleConnection | |
ManagedPtrNewtype SimpleConnection Source # | |
Defined in GI.NM.Objects.SimpleConnection Methods toManagedPtr :: SimpleConnection -> ManagedPtr SimpleConnection # | |
TypedObject SimpleConnection Source # | |
Defined in GI.NM.Objects.SimpleConnection | |
HasParentTypes SimpleConnection Source # | |
Defined in GI.NM.Objects.SimpleConnection | |
IsGValue (Maybe SimpleConnection) Source # | Convert |
Defined in GI.NM.Objects.SimpleConnection Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SimpleConnection -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SimpleConnection) # | |
type ParentTypes SimpleConnection Source # | |
Defined in GI.NM.Objects.SimpleConnection |
class (GObject o, IsDescendantOf SimpleConnection o) => IsSimpleConnection o Source #
Type class for types which can be safely cast to SimpleConnection
, for instance with toSimpleConnection
.
Instances
(GObject o, IsDescendantOf SimpleConnection o) => IsSimpleConnection o Source # | |
Defined in GI.NM.Objects.SimpleConnection |
toSimpleConnection :: (MonadIO m, IsSimpleConnection o) => o -> m SimpleConnection Source #
Cast to SimpleConnection
, 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
addSetting, bindProperty, bindPropertyFull, clearSecrets, clearSecretsWithFlags, clearSettings, compare, dump, forEachSettingValue, forceFloating, freezeNotify, getv, isFloating, isType, isVirtual, needSecrets, normalize, notify, notifyByPspec, ref, refSink, removeSetting, replaceSettings, replaceSettingsFromConnection, runDispose, stealData, stealQdata, thawNotify, toDbus, unref, updateSecrets, verify, verifySecrets, watchClosure.
Getters
getConnectionType, getData, getId, getInterfaceName, getPath, getProperty, getQdata, getSetting, getSetting8021x, getSettingAdsl, getSettingBluetooth, getSettingBond, getSettingBridge, getSettingBridgePort, getSettingByName, getSettingCdma, getSettingConnection, getSettingDcb, getSettingDummy, getSettingGeneric, getSettingGsm, getSettingInfiniband, getSettingIp4Config, getSettingIp6Config, getSettingIpTunnel, getSettingMacsec, getSettingMacvlan, getSettingOlpcMesh, getSettingOvsBridge, getSettingOvsInterface, getSettingOvsPatch, getSettingOvsPort, getSettingPpp, getSettingPppoe, getSettingProxy, getSettingSerial, getSettingTcConfig, getSettingTeam, getSettingTeamPort, getSettingTun, getSettingVlan, getSettingVpn, getSettingVxlan, getSettingWimax, getSettingWired, getSettingWireless, getSettingWirelessSecurity, getSettings, getUuid, getVirtualDeviceDescription.
Setters
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m Connection | Returns: the new empty |
Creates a new SimpleConnection
object with no Setting
objects.
newClone
simpleConnectionNewClone Source #
Arguments
:: (HasCallStack, MonadIO m, IsConnection a) | |
=> a |
|
-> m Connection | Returns: a new |
Clones an Connection
as an SimpleConnection
.
newFromDbus
simpleConnectionNewFromDbus Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> GVariant |
|
-> m Connection | Returns: the new |
Creates a new SimpleConnection
from a hash table describing the
connection and normalize the connection. See connectionToDbus
for a
description of the expected hash table.