Aravis.GcFloat

g Aravis.GcFloat Aravis.GcFloat GObject.GInterface GObject.GInterface GObject.GInterface->Aravis.GcFloat

Implementations:

Aravis.GcConverterNode, Aravis.GcFloatNode, Aravis.GcFloatRegNode, Aravis.GcSwissKnifeNode

Methods

get_display_notation ()

get_display_precision ()

get_inc ()

get_max ()

get_min ()

get_representation ()

get_unit ()

get_value ()

impose_max (maximum)

impose_min (minimum)

set_value (value)

Virtual Methods

do_get_display_notation ()

do_get_display_precision ()

do_get_inc ()

do_get_max ()

do_get_min ()

do_get_representation ()

do_get_unit ()

do_get_value ()

do_impose_max (maximum)

do_impose_min (minimum)

do_set_value (value)

Properties

None

Signals

None

Fields

None

Class Details

class Aravis.GcFloat
Bases:

GObject.GInterface

Structure:

Aravis.GcFloatInterface

get_display_notation()
Returns:

Number display notation as Aravis.GcDisplayNotation.

Return type:

Aravis.GcDisplayNotation

Get number display notation.

New in version 0.8.0.

get_display_precision()
Returns:

Number of digits to show.

Return type:

int

Gets number of digits to show in user interface. This number should always be positive and represent total number of digits on left and right side of decimal.

New in version 0.8.0.

get_inc()
Raises:

GLib.Error

Returns:

The feature Inc property, GObject.G_MINDOUBLE if not defined or on error

Return type:

float

get_max()
Raises:

GLib.Error

Returns:

The feature Max property, GObject.G_MAXDOUBLE if not defined or on error

Return type:

float

get_min()
Raises:

GLib.Error

Returns:

The feature Min property, -GObject.G_MAXDOUBLE if not defined or on error

Return type:

float

get_representation()
Returns:

Number representation format as Aravis.GcRepresentation.

Return type:

Aravis.GcRepresentation

Get number representation format.

get_unit()
Return type:

str

get_value()
Raises:

GLib.Error

Return type:

float

impose_max(maximum)
Parameters:

maximum (float) –

Raises:

GLib.Error

impose_min(minimum)
Parameters:

minimum (float) –

Raises:

GLib.Error

set_value(value)
Parameters:

value (float) –

Raises:

GLib.Error

do_get_display_notation() virtual
Returns:

Number display notation as Aravis.GcDisplayNotation.

Return type:

Aravis.GcDisplayNotation

Get number display notation.

New in version 0.8.0.

do_get_display_precision() virtual
Returns:

Number of digits to show.

Return type:

int

Gets number of digits to show in user interface. This number should always be positive and represent total number of digits on left and right side of decimal.

New in version 0.8.0.

do_get_inc() virtual
Returns:

The feature Inc property, GObject.G_MINDOUBLE if not defined or on error

Return type:

float

do_get_max() virtual
Returns:

The feature Max property, GObject.G_MAXDOUBLE if not defined or on error

Return type:

float

do_get_min() virtual
Returns:

The feature Min property, -GObject.G_MAXDOUBLE if not defined or on error

Return type:

float

do_get_representation() virtual
Returns:

Number representation format as Aravis.GcRepresentation.

Return type:

Aravis.GcRepresentation

Get number representation format.

do_get_unit() virtual
Return type:

str

do_get_value() virtual
Return type:

float

do_impose_max(maximum) virtual
Parameters:

maximum (float) –

do_impose_min(minimum) virtual
Parameters:

minimum (float) –

do_set_value(value) virtual
Parameters:

value (float) –