AgsGui.Scale¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The control name of scale |
||
r/w |
The default value of scale |
||
r/w |
The lower of scale |
||
r/w |
The upper of scale |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
button_state |
r |
||
control_name |
r |
||
default_value |
r |
||
flags |
r |
||
font_size |
r |
||
key_mask |
r |
||
lower |
r |
||
orientation |
r |
||
page_size |
r |
||
scale_point |
r |
||
scale_step_count |
r |
||
scale_value |
r |
||
step_count |
r |
||
upper |
r |
||
widget |
r |
Class Details¶
- class AgsGui.Scale(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(orientation, width_request, height_request)¶
- Parameters:
orientation (
Gtk.Orientation
) – theGtk.Orientation
width_request (
int
) – the scale’s widthheight_request (
int
) – the scale’s height
- Returns:
the new
AgsGui.Scale
instance- Return type:
Create a new instance of
AgsGui.Scale
.New in version 3.0.0.
- get_control_name()¶
- Returns:
the scale height
- Return type:
Get scale height of self.
New in version 3.2.2.
- get_default_value()¶
- Returns:
the normalized volume
- Return type:
Get normalized volume of self.
New in version 3.2.2.
- set_control_name(control_name)¶
- Parameters:
control_name (
str
) – the scale height
Set control_name of self.
New in version 3.2.2.
- set_default_value(default_value)¶
- Parameters:
default_value (
float
) – the normalized volume
Set default_value of self.
New in version 3.2.2.
- value_changed(default_value)¶
- Parameters:
default_value (
float
) – the default value
Emits
::value-changed
event.New in version 3.0.0.
- do_value_changed(default_value) virtual¶
- Parameters:
default_value (
float
) – the default value
Emits
::value-changed
event.New in version 3.0.0.
Signal Details¶
- AgsGui.Scale.signals.value_changed(scale, default_value)¶
- Signal Name:
value-changed
- Flags:
- Parameters:
scale (
AgsGui.Scale
) – The object which received the signaldefault_value (
float
) – the changed default value
The
::value-changed
signal notifies about modified default value.New in version 3.0.0.
Property Details¶
- AgsGui.Scale.props.control_name¶
-
The scale’s control name.
New in version 3.0.0.
- AgsGui.Scale.props.default_value¶
-
The scale’s default value.
New in version 3.0.0.
- AgsGui.Scale.props.lower¶
-
The scale’s lower range.
New in version 3.0.0.