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.DeviceBridge
Description
No description available in the introspection data.
Synopsis
- newtype DeviceBridge = DeviceBridge (ManagedPtr DeviceBridge)
- class (GObject o, IsDescendantOf DeviceBridge o) => IsDeviceBridge o
- toDeviceBridge :: (MonadIO m, IsDeviceBridge o) => o -> m DeviceBridge
- deviceBridgeGetCarrier :: (HasCallStack, MonadIO m, IsDeviceBridge a) => a -> m Bool
- deviceBridgeGetSlaves :: (HasCallStack, MonadIO m, IsDeviceBridge a) => a -> m [Device]
- getDeviceBridgeCarrier :: (MonadIO m, IsDeviceBridge o) => o -> m Bool
Exported types
newtype DeviceBridge Source #
Memory-managed wrapper type.
Constructors
DeviceBridge (ManagedPtr DeviceBridge) |
Instances
Eq DeviceBridge Source # | |
Defined in GI.NM.Objects.DeviceBridge | |
GObject DeviceBridge Source # | |
Defined in GI.NM.Objects.DeviceBridge | |
ManagedPtrNewtype DeviceBridge Source # | |
Defined in GI.NM.Objects.DeviceBridge Methods | |
TypedObject DeviceBridge Source # | |
Defined in GI.NM.Objects.DeviceBridge | |
HasParentTypes DeviceBridge Source # | |
Defined in GI.NM.Objects.DeviceBridge | |
IsGValue (Maybe DeviceBridge) Source # | Convert |
Defined in GI.NM.Objects.DeviceBridge Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceBridge -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceBridge) # | |
type ParentTypes DeviceBridge Source # | |
Defined in GI.NM.Objects.DeviceBridge |
class (GObject o, IsDescendantOf DeviceBridge o) => IsDeviceBridge o Source #
Type class for types which can be safely cast to DeviceBridge
, for instance with toDeviceBridge
.
Instances
(GObject o, IsDescendantOf DeviceBridge o) => IsDeviceBridge o Source # | |
Defined in GI.NM.Objects.DeviceBridge |
toDeviceBridge :: (MonadIO m, IsDeviceBridge o) => o -> m DeviceBridge Source #
Cast to DeviceBridge
, 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, connectionCompatible, connectionValid, delete, deleteAsync, deleteFinish, disconnect, disconnectAsync, disconnectFinish, filterConnections, forceFloating, freezeNotify, getv, isFloating, isReal, isSoftware, notify, notifyByPspec, reapply, reapplyAsync, reapplyFinish, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActiveConnection, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getCarrier, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMtu, getNmPluginMissing, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getSettingType, getSlaves, getState, getStateReason, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getCarrier
deviceBridgeGetCarrier Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceBridge a) | |
=> a |
|
-> m Bool | Returns: |
Whether the device has carrier.
getSlaves
deviceBridgeGetSlaves Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceBridge a) | |
=> a |
|
-> m [Device] | Returns: the |
Deprecated: (Since version 1.34)Use deviceGetPorts
instead.
Gets the devices currently attached as port to device
.
Properties
carrier
Whether the device has carrier.
getDeviceBridgeCarrier :: (MonadIO m, IsDeviceBridge o) => o -> m Bool Source #
Get the value of the “carrier
” property.
When overloading is enabled, this is equivalent to
get
deviceBridge #carrier