AgsGui.Indicator¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), 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 indicator’s segment count  | 
||
r/w  | 
The indicator’s segment height  | 
||
r/w  | 
The indicator’s segment padding  | 
||
r/w  | 
The indicator’s segment width  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
adjustment  | 
r  | 
||
orientation  | 
r  | 
||
segment_count  | 
r  | 
||
segment_height  | 
r  | 
||
segment_padding  | 
r  | 
||
segment_width  | 
r  | 
||
widget  | 
r  | 
Class Details¶
- class AgsGui.Indicator(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(orientation, segment_width, segment_height)¶
 - Parameters:
 orientation (
Gtk.Orientation) – theGtk.Orientationsegment_width (
int) – the width of one segmentsegment_height (
int) – the height of one segment
- Returns:
 the new
AgsGui.Indicator- Return type:
 
Creates a new instance of
AgsGui.Indicator.New in version 3.0.0.
- get_adjustment()¶
 - Returns:
 the
Gtk.Adjustment- Return type:
 
Get adjustment.
New in version 3.2.0.
- get_segment_count()¶
 - Returns:
 the segment count
- Return type:
 
Get segment count.
New in version 3.2.0.
- get_segment_height()¶
 - Returns:
 the segment height
- Return type:
 
Get segment height.
New in version 3.2.0.
- get_segment_padding()¶
 - Returns:
 the segment padding
- Return type:
 
Get segment padding.
New in version 3.2.0.
- get_segment_width()¶
 - Returns:
 the segment width
- Return type:
 
Get segment width.
New in version 3.2.0.
- set_adjustment(adjustment)¶
 - Parameters:
 adjustment (
Gtk.Adjustment) – theGtk.Adjustment
Set adjustment.
New in version 3.2.0.
- set_segment_count(segment_count)¶
 - Parameters:
 segment_count (
int) – the segment count
Set segment count.
New in version 3.2.0.
- set_segment_height(segment_height)¶
 - Parameters:
 segment_height (
int) – the segment height
Set segment height.
New in version 3.2.0.
Property Details¶
- AgsGui.Indicator.props.adjustment¶
 - Name:
 adjustment- Type:
 - Default Value:
 - Flags:
 
The adjustment giving indicator value.
New in version 3.0.0.
- AgsGui.Indicator.props.segment_count¶
 - 
The indicator’s segment count.
New in version 3.0.0.
 
- AgsGui.Indicator.props.segment_height¶
 - 
The indicator’s segment height.
New in version 3.0.0.
 
- AgsGui.Indicator.props.segment_padding¶
 - 
The indicator’s segment padding.
New in version 3.0.0.