NM.TCAction¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class NM.TCAction¶
- classmethod new(kind)¶
- Parameters:
kind (
str) – name of the queueing discipline- Raises:
- Returns:
the new
NM.TCActionobject, orNoneon error- Return type:
Creates a new
NM.TCActionobject.New in version 1.12.
- dup()¶
- Returns:
a copy of self
- Return type:
Creates a copy of self
New in version 1.12.
- equal(other)¶
- Parameters:
other (
NM.TCAction) – theNM.TCActionto compare self to.- Returns:
Trueif the objects contain the same values,Falseif they do not.- Return type:
Determines if two
NM.TCActionobjects contain the same kind, family, handle, parent and info.New in version 1.12.
- get_attribute(name)¶
- Parameters:
name (
str) – the name of an action attribute- Returns:
the value of the attribute with name name on self, or
Noneif self has no such attribute.- Return type:
Gets the value of the attribute with name name on self
New in version 1.12.
- get_attribute_names()¶
-
Gets an array of attribute names defined on self.
New in version 1.12.
- ref()¶
Increases the reference count of the object.
New in version 1.12.
- set_attribute(name, value)¶
- Parameters:
name (
str) – the name of an action attributevalue (
GLib.VariantorNone) – the value
Sets or clears the named attribute on self to the given value.
New in version 1.12.
- unref()¶
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
New in version 1.12.