Top | ![]() |
![]() |
![]() |
![]() |
Functions
|
ags_indicator_get_segment_width () |
|
ags_indicator_set_segment_width () |
|
ags_indicator_get_segment_height () |
|
ags_indicator_set_segment_height () |
|
ags_indicator_get_segment_padding () |
|
ags_indicator_set_segment_padding () |
|
ags_indicator_get_segment_count () |
|
ags_indicator_set_segment_count () |
|
ags_indicator_get_adjustment () |
|
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() |
|
ags_indicator_get_type () |
Properties
|
adjustment | Read / Write |
segment-count | Read / Write | |
segment-height | Read / Write | |
segment-padding | Read / Write | |
segment-width | Read / Write |
Types and Values
#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 |
Implemented Interfaces
AgsIndicator implements
Functions
ags_indicator_get_segment_width ()
guint ags_indicator_get_segment_width (AgsIndicator *indicator
);
Get segment width.
Since:
ags_indicator_set_segment_width ()
void ags_indicator_set_segment_width (AgsIndicator *indicator
,);
guint segment_width
Set segment width.
Since:
ags_indicator_get_segment_height ()
guint ags_indicator_get_segment_height (AgsIndicator *indicator
);
Get segment height.
Since:
ags_indicator_set_segment_height ()
void ags_indicator_set_segment_height (AgsIndicator *indicator
,);
guint segment_height
Set segment height.
Since:
ags_indicator_get_segment_padding ()
guint ags_indicator_get_segment_padding (AgsIndicator *indicator
);
Get segment padding.
Since:
ags_indicator_set_segment_padding ()
void ags_indicator_set_segment_padding (AgsIndicator *indicator
,);
guint segment_padding
Set segment padding.
Since:
ags_indicator_get_segment_count ()
guint ags_indicator_get_segment_count (AgsIndicator *indicator
);
Get segment count.
Since:
ags_indicator_set_segment_count ()
void ags_indicator_set_segment_count (AgsIndicator *indicator
,);
guint segment_count
Set segment count.
Since:
ags_indicator_get_adjustment ()
GtkAdjustment * ags_indicator_get_adjustment (AgsIndicator *indicator
);
Get adjustment.
Since:
ags_indicator_set_adjustment ()
void ags_indicator_set_adjustment (AgsIndicator *indicator
,);
GtkAdjustment *adjustment
Set adjustment.
Since:
ags_indicator_new ()
AgsIndicator * ags_indicator_new (,
GtkOrientation orientation,
guint segment_width);
guint segment_height
Creates a new instance of AgsIndicator.
Parameters
orientation |
the |
|
segment_width |
the width of one segment |
|
segment_height |
the height of one segment |
Since:
AGS_INDICATOR()
#define AGS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_INDICATOR, AgsIndicator))
AGS_INDICATOR_CLASS()
#define AGS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_INDICATOR, AgsIndicatorClass))
AGS_INDICATOR_GET_CLASS()
#define AGS_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_INDICATOR, AgsIndicatorClass))
AGS_IS_INDICATOR()
#define AGS_IS_INDICATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_INDICATOR))
AGS_IS_INDICATOR_CLASS()
#define AGS_IS_INDICATOR_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_INDICATOR))
Property Details
The “adjustment”
property
“adjustment”GObject *
The adjustment giving indicator value.
Owner: AgsIndicator
Flags: Read / Write
Since:
The “segment-count”
property
“segment-count”guint
The indicator's segment count.
Owner: AgsIndicator
Flags: Read / Write
Allowed values: >= 1
Default value: 10
Since:
The “segment-height”
property
“segment-height”guint
The indicator's segment height.
Owner: AgsIndicator
Flags: Read / Write
Allowed values: >= 1
Default value: 7
Since:
The “segment-padding”
property
“segment-padding”guint
The indicator's segment padding.
Owner: AgsIndicator
Flags: Read / Write
Default value: 3
Since: