Champlain.Adjustment

g Champlain.Adjustment Champlain.Adjustment GObject.Object GObject.Object GObject.Object->Champlain.Adjustment

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (value, lower, upper, step_increment)

clamp (interpolate, n_frames, fps)

get_value ()

get_values (value, lower, upper, step_increment)

interpolate (value, n_frames, fps)

interpolate_stop ()

set_value (value)

set_values (value, lower, upper, step_increment)

Virtual Methods

Inherited:

GObject.Object (7)

do_changed ()

Properties

Name

Type

Flags

Short Description

lower

float

r/w

Lower bound

step-increment

float

r/w

Step increment

upper

float

r/w

Upper bound

value

float

r/w

Current value

Signals

Inherited:

GObject.Object (1)

Name

Short Description

changed

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Champlain.Adjustment(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Champlain.AdjustmentClass

Class for handling an interval between to values. The contents of the Champlain.Adjustment are private and should be accessed using the public API.

classmethod new(value, lower, upper, step_increment)
Parameters:
Return type:

Champlain.Adjustment

clamp(interpolate, n_frames, fps)
Parameters:
  • interpolate (bool) –

  • n_frames (int) –

  • fps (int) –

Return type:

bool

get_value()
Return type:

float

get_values(value, lower, upper, step_increment)
Parameters:
interpolate(value, n_frames, fps)
Parameters:
interpolate_stop()
set_value(value)
Parameters:

value (float) –

set_values(value, lower, upper, step_increment)
Parameters:
do_changed() virtual

Signal Details

Champlain.Adjustment.signals.changed(adjustment)
Signal Name:

changed

Flags:

RUN_LAST

Parameters:

adjustment (Champlain.Adjustment) – The object which received the signal

Property Details

Champlain.Adjustment.props.lower
Name:

lower

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Lower bound

Champlain.Adjustment.props.step_increment
Name:

step-increment

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Step increment

Champlain.Adjustment.props.upper
Name:

upper

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Upper bound

Champlain.Adjustment.props.value
Name:

value

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Current value