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.DeviceBond

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DeviceBond Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf DeviceBond o) => IsDeviceBond o Source #

Type class for types which can be safely cast to DeviceBond, for instance with toDeviceBond.

Instances

Instances details
(GObject o, IsDescendantOf DeviceBond o) => IsDeviceBond o Source # 
Instance details

Defined in GI.NM.Objects.DeviceBond

toDeviceBond :: (MonadIO m, IsDeviceBond o) => o -> m DeviceBond Source #

Cast to DeviceBond, for types for which this is known to be safe. For general casts, use castTo.

Methods

getCarrier

deviceBondGetCarrier Source #

Arguments

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

device: a DeviceBond

-> m Bool

Returns: True if the device has carrier

Whether the device has carrier.

getSlaves

deviceBondGetSlaves Source #

Arguments

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

device: a DeviceBond

-> m [Device]

Returns: the PtrArray containing NMDevices that are slaves 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.

getDeviceBondCarrier :: (MonadIO m, IsDeviceBond o) => o -> m Bool Source #

Get the value of the “carrier” property. When overloading is enabled, this is equivalent to

get deviceBond #carrier

slaves