AgsGui.Dial¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- 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 adjustment it is assigned with |
||
r/w |
The buttons height |
||
r/w |
The buttons width |
||
r/w |
The buttons font-size |
||
r/w |
The button’s margin left |
||
r/w |
The button’s margin right |
||
r/w |
The knob’s outline strength |
||
r/w |
The knob’s radius |
||
r/w |
The precision of the scale |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
adjustment |
r |
||
button_height |
r |
||
button_width |
r |
||
current_x |
r |
||
current_y |
r |
||
flags |
r |
||
font_size |
r |
||
gravity_x |
r |
||
gravity_y |
r |
||
margin_left |
r |
||
margin_right |
r |
||
negated_tolerance |
r |
||
outline_strength |
r |
||
radius |
r |
||
scale_max_precision |
r |
||
scale_precision |
r |
||
tolerance |
r |
||
widget |
r |
Class Details¶
- class AgsGui.Dial(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
AgsGui.Dial
- Return type:
Creates an
AgsGui.Dial
New in version 3.0.0.
- get_adjustment()¶
- Returns:
the
Gtk.Adjustment
- Return type:
Get adjustment of self.
New in version 3.2.0.
- get_button_height()¶
- Returns:
the button height
- Return type:
Get button height of self.
New in version 3.2.0.
- get_button_width()¶
- Returns:
the button width
- Return type:
Get button width of self.
New in version 3.2.0.
- get_font_size()¶
- Returns:
the font size
- Return type:
Get font size of self.
New in version 3.2.0.
- get_margin_left()¶
- Returns:
the margin left
- Return type:
Get margin_left of self.
New in version 3.2.0.
- get_margin_right()¶
- Returns:
the margin right
- Return type:
Get margin right of self.
New in version 3.2.0.
- get_outline_strength()¶
- Returns:
the outline _strength
- Return type:
Get outline strength of self.
New in version 3.2.0.
- get_scale_precision()¶
- Returns:
the scale precision
- Return type:
Get scale precision of self.
New in version 3.2.0.
- set_adjustment(adjustment)¶
- Parameters:
adjustment (
Gtk.Adjustment
) – theGtk.Adjustment
Set adjustment of self.
New in version 3.2.0.
- set_button_height(button_height)¶
- Parameters:
button_height (
int
) – the button height
Set button height of self.
New in version 3.2.0.
- set_button_width(button_width)¶
- Parameters:
button_width (
int
) – the button width
Set button width of self.
New in version 3.2.0.
- set_font_size(font_size)¶
- Parameters:
font_size (
int
) – the font size
Set font size of self.
New in version 3.2.0.
- set_margin_left(margin_left)¶
- Parameters:
margin_left (
int
) – the margin left
Set margin left of self.
New in version 3.2.0.
- set_margin_right(margin_right)¶
- Parameters:
margin_right (
int
) – the margin right
Set margin right of self.
New in version 3.2.0.
- set_outline_strength(outline_strength)¶
- Parameters:
outline_strength (
int
) – the outline strength
Set outline strength of self.
New in version 3.2.0.
- set_scale_precision(scale_precision)¶
- Parameters:
scale_precision (
int
) – the scale precision
Set scale precision of self.
New in version 3.2.0.
- value_changed()¶
draws the widget
New in version 3.0.0.
- do_value_changed() virtual¶
draws the widget
New in version 3.0.0.
Signal Details¶
- AgsGui.Dial.signals.value_changed(dial)¶
- Signal Name:
value-changed
- Flags:
- Parameters:
dial (
AgsGui.Dial
) – The object which received the signal
The
::value-changed
signal notifies adjustment value changed.New in version 3.0.0.
Property Details¶
- AgsGui.Dial.props.adjustment¶
- Name:
adjustment
- Type:
- Default Value:
- Flags:
The adjustment storing current value and boundaries.
New in version 3.0.0.
- AgsGui.Dial.props.button_height¶
-
The buttons height.
New in version 3.0.0.
- AgsGui.Dial.props.button_width¶
-
The buttons width.
New in version 3.0.0.
- AgsGui.Dial.props.font_size¶
-
The font size of the buttons.
New in version 3.0.0.
- AgsGui.Dial.props.margin_left¶
-
The button’s margin left.
New in version 3.0.0.
- AgsGui.Dial.props.margin_right¶
-
The button’s margin right.
New in version 3.0.0.
- AgsGui.Dial.props.outline_strength¶
-
The outline strength of the knob.
New in version 3.0.0.
- AgsGui.Dial.props.radius¶
-
The radius of the knob.
New in version 3.0.0.