Top | ![]() |
![]() |
![]() |
![]() |
guint | ags_indicator_get_segment_width () |
void | ags_indicator_set_segment_width () |
guint | ags_indicator_get_segment_height () |
void | ags_indicator_set_segment_height () |
guint | ags_indicator_get_segment_padding () |
void | ags_indicator_set_segment_padding () |
guint | ags_indicator_get_segment_count () |
void | ags_indicator_set_segment_count () |
GtkAdjustment * | ags_indicator_get_adjustment () |
void | ags_indicator_set_adjustment () |
AgsIndicator * | ags_indicator_new () |
#define | AGS_INDICATOR() |
#define | AGS_INDICATOR_CLASS() |
#define | AGS_INDICATOR_GET_CLASS() |
#define | AGS_IS_INDICATOR() |
#define | AGS_IS_INDICATOR_CLASS() |
GType | ags_indicator_get_type () |
GObject * | adjustment | Read / Write |
guint | segment-count | Read / Write |
guint | segment-height | Read / Write |
guint | segment-padding | Read / Write |
guint | segment-width | Read / Write |
#define | AGS_INDICATOR_DEFAULT_SEGMENT_WIDTH |
#define | AGS_INDICATOR_DEFAULT_SEGMENT_HEIGHT |
#define | AGS_INDICATOR_DEFAULT_SEGMENT_PADDING |
#define | AGS_INDICATOR_DEFAULT_SEGMENT_COUNT |
#define | AGS_TYPE_INDICATOR |
struct | AgsIndicator |
struct | AgsIndicatorClass |
AgsIndicator implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.
guint
ags_indicator_get_segment_width (AgsIndicator *indicator
);
Get segment width.
Since: 3.2.0
void ags_indicator_set_segment_width (AgsIndicator *indicator
,guint segment_width
);
Set segment width.
Since: 3.2.0
guint
ags_indicator_get_segment_height (AgsIndicator *indicator
);
Get segment height.
Since: 3.2.0
void ags_indicator_set_segment_height (AgsIndicator *indicator
,guint segment_height
);
Set segment height.
Since: 3.2.0
guint
ags_indicator_get_segment_padding (AgsIndicator *indicator
);
Get segment padding.
Since: 3.2.0
void ags_indicator_set_segment_padding (AgsIndicator *indicator
,guint segment_padding
);
Set segment padding.
Since: 3.2.0
guint
ags_indicator_get_segment_count (AgsIndicator *indicator
);
Get segment count.
Since: 3.2.0
void ags_indicator_set_segment_count (AgsIndicator *indicator
,guint segment_count
);
Set segment count.
Since: 3.2.0
GtkAdjustment *
ags_indicator_get_adjustment (AgsIndicator *indicator
);
Get adjustment.
Since: 3.2.0
void ags_indicator_set_adjustment (AgsIndicator *indicator
,GtkAdjustment *adjustment
);
Set adjustment.
Since: 3.2.0
AgsIndicator * ags_indicator_new (GtkOrientation orientation
,guint segment_width
,guint segment_height
);
Creates a new instance of AgsIndicator.
orientation |
the GtkOrientation |
|
segment_width |
the width of one segment |
|
segment_height |
the height of one segment |
Since: 3.0.0
#define AGS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsIndicator))
#define AGS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsIndicatorClass))
#define AGS_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsIndicatorClass))
#define AGS_IS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
#define AGS_IS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
“adjustment”
property“adjustment” GObject *
The adjustment giving indicator value.
Owner: AgsIndicator
Flags: Read / Write
Since: 3.0.0
“segment-count”
property“segment-count” guint
The indicator's segment count.
Owner: AgsIndicator
Flags: Read / Write
Allowed values: >= 1
Default value: 10
Since: 3.0.0
“segment-height”
property“segment-height” guint
The indicator's segment height.
Owner: AgsIndicator
Flags: Read / Write
Allowed values: >= 1
Default value: 7
Since: 3.0.0
“segment-padding”
property“segment-padding” guint
The indicator's segment padding.
Owner: AgsIndicator
Flags: Read / Write
Default value: 3
Since: 3.0.0
“segment-width”
property“segment-width” guint
The indicator's segment width.
Owner: AgsIndicator
Flags: Read / Write
Allowed values: >= 1
Default value: 7
Since: 3.0.0