Aravis.GcString

g Aravis.GcString Aravis.GcString GObject.GInterface GObject.GInterface GObject.GInterface->Aravis.GcString

Implementations:

Aravis.GcEnumeration, Aravis.GcStringNode, Aravis.GcStringRegNode

Methods

get_max_length ()

get_value ()

set_value (value)

Virtual Methods

do_get_max_length ()

do_get_value ()

do_set_value (value)

Properties

None

Signals

None

Fields

None

Class Details

class Aravis.GcString
Bases:

GObject.GInterface

Structure:

Aravis.GcStringInterface

get_max_length()
Raises:

GLib.Error

Returns:

the maximum length self can store, excluding the None terminal character.

Return type:

int

get_value()
Raises:

GLib.Error

Returns:

the string value.

Return type:

str

Please note the string content is still owned by the self object, which means the returned pointer may not be still valid after a new call to this function.

set_value(value)
Parameters:

value (str) – new string value

Raises:

GLib.Error

Set value as the new self value.

do_get_max_length() virtual
Returns:

the maximum length gc_string can store, excluding the None terminal character.

Return type:

int

do_get_value() virtual
Returns:

the string value.

Return type:

str

Please note the string content is still owned by the gc_string object, which means the returned pointer may not be still valid after a new call to this function.

do_set_value(value) virtual
Parameters:

value (str) – new string value

Set value as the new gc_string value.