AgsGui.Ruler¶
- 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 adjustment it is assigned with |
||
r/w |
The factor |
||
r/w |
The font size |
||
r/w |
The width of a large step |
||
r/w |
The precision |
||
r/w |
The scale precision |
||
r/w |
The width of a small step |
||
r/w |
The width of a step |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
adjustment |
r |
||
factor |
r |
||
font_size |
r |
||
large_step |
r |
||
orientation |
r |
||
precision |
r |
||
scale_precision |
r |
||
small_step |
r |
||
step |
r |
||
widget |
r |
Class Details¶
- class AgsGui.Ruler(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(orientation, step, factor, precision, scale_precision)¶
- Parameters:
orientation (
Gtk.Orientation
) – theGtk.Orientation
step (
int
) – the step sizefactor (
float
) – the factorprecision (
float
) – the precisionscale_precision (
float
) – the scale precision
- Returns:
the new
AgsGui.Ruler
- Return type:
Create a new instance of
AgsGui.Ruler
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_font_size()¶
- Returns:
the font size
- Return type:
Get font size of self.
New in version 3.6.15.
- get_large_step()¶
- Returns:
the large step
- Return type:
Get large step of self.
New in version 3.2.0.
- get_precision()¶
- Returns:
the precision
- Return type:
Get precision of self.
New in version 4.0.0.
- get_scale_precision()¶
- Returns:
the scale precision
- Return type:
Get scale precision of self.
New in version 4.0.0.
- get_small_step()¶
- Returns:
the small step
- Return type:
Get small step 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_factor(factor)¶
- Parameters:
factor (
float
) – the factor
Set factor of self.
New in version 4.0.0.
- set_font_size(font_size)¶
- Parameters:
font_size (
int
) – the font size
Set font size of self.
New in version 3.6.15.
- set_large_step(large_step)¶
- Parameters:
large_step (
int
) – the large step
Set large step of self.
New in version 3.2.0.
- set_precision(precision)¶
- Parameters:
precision (
float
) – the precision
Set precision of self.
New in version 4.0.0.
- set_scale_precision(scale_precision)¶
- Parameters:
scale_precision (
float
) – the scale precision
Set scale precision of self.
New in version 4.0.0.
Property Details¶
- AgsGui.Ruler.props.adjustment¶
- Name:
adjustment
- Type:
- Default Value:
- Flags:
The adjustment.
New in version 3.0.0.
- AgsGui.Ruler.props.factor¶
-
The factor.
New in version 4.0.0.
- AgsGui.Ruler.props.font_size¶
-
The font size.
New in version 3.6.15.
- AgsGui.Ruler.props.large_step¶
-
The large step’s width.
New in version 3.0.0.
- AgsGui.Ruler.props.precision¶
-
The precision.
New in version 4.0.0.
- AgsGui.Ruler.props.scale_precision¶
-
The scale precision.
New in version 4.0.0.
- AgsGui.Ruler.props.small_step¶
-
The small step’s width.
New in version 3.0.0.