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.Structs.TCAction

Description

No description available in the introspection data.

Synopsis

Exported types

newtype TCAction Source #

Memory-managed wrapper type.

Constructors

TCAction (ManagedPtr TCAction) 

Instances

Instances details
Eq TCAction Source # 
Instance details

Defined in GI.NM.Structs.TCAction

GBoxed TCAction Source # 
Instance details

Defined in GI.NM.Structs.TCAction

ManagedPtrNewtype TCAction Source # 
Instance details

Defined in GI.NM.Structs.TCAction

TypedObject TCAction Source # 
Instance details

Defined in GI.NM.Structs.TCAction

Methods

glibType :: IO GType #

HasParentTypes TCAction Source # 
Instance details

Defined in GI.NM.Structs.TCAction

IsGValue (Maybe TCAction) Source #

Convert TCAction to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.NM.Structs.TCAction

type ParentTypes TCAction Source # 
Instance details

Defined in GI.NM.Structs.TCAction

type ParentTypes TCAction = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

dup, equal, ref, unref.

Getters

getAttribute, getAttributeNames, getKind.

Setters

setAttribute.

dup

tCActionDup Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> m TCAction

Returns: a copy of action

Creates a copy of action

Since: 1.12

equal

tCActionEqual Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> TCAction

other: the TCAction to compare action to.

-> m Bool

Returns: True if the objects contain the same values, False if they do not.

Determines if two TCAction objects contain the same kind, family, handle, parent and info.

Since: 1.12

getAttribute

tCActionGetAttribute Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> Text

name: the name of an action attribute

-> m GVariant

Returns: the value of the attribute with name name on action, or Nothing if action has no such attribute.

Gets the value of the attribute with name name on action

Since: 1.12

getAttributeNames

tCActionGetAttributeNames Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> m [Text]

Returns: a Nothing-terminated array of attribute names,

Gets an array of attribute names defined on action.

Since: 1.12

getKind

tCActionGetKind Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> m Text 

No description available in the introspection data.

Since: 1.12

new

tCActionNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

kind: name of the queueing discipline

-> m TCAction

Returns: the new TCAction object, or Nothing on error (Can throw GError)

Creates a new TCAction object.

Since: 1.12

ref

tCActionRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> m () 

Increases the reference count of the object.

Since: 1.12

setAttribute

tCActionSetAttribute Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> Text

name: the name of an action attribute

-> Maybe GVariant

value: the value

-> m () 

Sets or clears the named attribute on action to the given value.

Since: 1.12

unref

tCActionUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> TCAction

action: the TCAction

-> m () 

Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

Since: 1.12