gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.DeviceBridge

Description

No description available in the introspection data.

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf DeviceBridge o) => IsDeviceBridge o Source # 
Instance details

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

getCarrier

deviceBridgeGetCarrier Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceBridge a) 
=> a

device: a DeviceBridge

-> m Bool

Returns: True if the device has carrier

Whether the device has carrier.

getSlaves

deviceBridgeGetSlaves Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceBridge a) 
=> a

device: a DeviceBridge

-> m [Device]

Returns: the PtrArray containing NMDevices that are ports of device. This is the internal copy used by the device, and must not be modified.

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

slaves