Aravis.GcEnumeration

g Aravis.DomElement Aravis.DomElement Aravis.GcNode Aravis.GcNode Aravis.DomElement->Aravis.GcNode Aravis.DomNode Aravis.DomNode Aravis.DomNode->Aravis.DomElement Aravis.GcEnumeration Aravis.GcEnumeration Aravis.GcFeatureNode Aravis.GcFeatureNode Aravis.GcFeatureNode->Aravis.GcEnumeration Aravis.GcInteger Aravis.GcInteger Aravis.GcInteger->Aravis.GcEnumeration Aravis.GcNode->Aravis.GcFeatureNode Aravis.GcSelector Aravis.GcSelector Aravis.GcSelector->Aravis.GcEnumeration Aravis.GcString Aravis.GcString Aravis.GcString->Aravis.GcEnumeration GObject.GInterface GObject.GInterface GObject.GInterface->Aravis.GcInteger GObject.GInterface->Aravis.GcSelector GObject.GInterface->Aravis.GcString GObject.Object GObject.Object GObject.Object->Aravis.DomNode

Subclasses:

None

Methods

Inherited:

Aravis.GcFeatureNode (13), Aravis.GcNode (1), Aravis.DomElement (3), Aravis.DomNode (17), GObject.Object (37), Aravis.GcInteger (9), Aravis.GcSelector (2), Aravis.GcString (3)

Structs:

GObject.ObjectClass (5)

class

new ()

dup_available_display_names ()

dup_available_int_values ()

dup_available_string_values ()

get_entries ()

get_int_value ()

get_string_value ()

set_int_value (value)

set_string_value (value)

Virtual Methods

Inherited:

Aravis.GcFeatureNode (1), Aravis.DomElement (2), Aravis.DomNode (9), GObject.Object (7), Aravis.GcInteger (9), Aravis.GcSelector (1), Aravis.GcString (3)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Aravis.GcEnumeration(**kwargs)
Bases:

Aravis.GcFeatureNode, Aravis.GcInteger, Aravis.GcSelector, Aravis.GcString

Abstract:

No

Structure:

Aravis.GcEnumerationClass

classmethod new()
Return type:

Aravis.GcNode

dup_available_display_names()
Raises:

GLib.Error

Returns:

an newly created array of const strings, which must freed after use using GLib.free, None on error.

Return type:

[str]

Create an array of display names of all available entries.

New in version 0.8.0.

dup_available_int_values()
Raises:

GLib.Error

Returns:

a newly allocated array of 64 bit integers, to be freed after use using GLib.free().

Return type:

[int]

New in version 0.8.0.

dup_available_string_values()
Raises:

GLib.Error

Returns:

an newly created array of const strings, which must freed after use using GLib.free, None on error.

Return type:

[str]

Create an array of all available values of self, as strings.

New in version 0.8.0.

get_entries()
Returns:

the list of enumeration entry nodes.

Return type:

[Aravis.GcFeatureNode]

get_int_value()
Raises:

GLib.Error

Return type:

int

get_string_value()
Raises:

GLib.Error

Return type:

str

set_int_value(value)
Parameters:

value (int) –

Raises:

GLib.Error

Return type:

bool

set_string_value(value)
Parameters:

value (str) –

Raises:

GLib.Error

Return type:

bool