Top |
Functions
|
ags_dial_set_radius () |
|
ags_dial_get_radius () |
|
ags_dial_set_outline_strength () |
|
ags_dial_get_outline_strength () |
|
ags_dial_set_scale_precision () |
|
ags_dial_get_scale_precision () |
|
ags_dial_set_font_size () |
|
ags_dial_get_font_size () |
|
ags_dial_set_button_width () |
|
ags_dial_get_button_width () |
|
ags_dial_set_button_height () |
|
ags_dial_get_button_height () |
|
ags_dial_set_margin_left () |
|
ags_dial_get_margin_left () |
|
ags_dial_set_margin_right () |
|
ags_dial_get_margin_right () |
|
ags_dial_set_adjustment () |
|
ags_dial_get_adjustment () |
|
ags_dial_value_changed () |
|
ags_dial_set_value () |
|
ags_dial_get_value () |
AgsDial * | ags_dial_new () |
#define | AGS_DIAL() |
#define | AGS_DIAL_CLASS() |
#define | AGS_DIAL_GET_CLASS() |
#define | AGS_IS_DIAL() |
#define | AGS_IS_DIAL_CLASS() |
|
ags_dial_get_type () |
Properties
|
adjustment | Read / Write |
button-height | Read / Write | |
button-width | Read / Write | |
font-size | Read / Write | |
margin-left | Read / Write | |
margin-right | Read / Write | |
outline-strength | Read / Write | |
radius | Read / Write | |
scale-precision | Read / Write |
Types and Values
#define | AGS_DIAL_DEFAULT_PRECISION |
#define | AGS_DIAL_DEFAULT_RADIUS |
#define | AGS_DIAL_DEFAULT_OUTLINE_STRENGTH |
#define | AGS_DIAL_DEFAULT_FONT_SIZE |
#define | AGS_DIAL_DEFAULT_BUTTON_WIDTH |
#define | AGS_DIAL_DEFAULT_BUTTON_HEIGHT |
#define | AGS_DIAL_DEFAULT_MARGIN |
#define | AGS_DIAL_DEFAULT_MARGIN_LEFT |
#define | AGS_DIAL_DEFAULT_MARGIN_RIGHT |
#define | AGS_DIAL_DEFAULT_HEIGHT |
#define | AGS_DIAL_DEFAULT_WIDTH |
enum | AgsDialFlags |
enum | AgsDialAction |
#define | AGS_TYPE_DIAL |
struct | AgsDial |
struct | AgsDialClass |
Functions
ags_dial_set_radius ()
void ags_dial_set_radius (AgsDial *dial
,);
guint radius
Set radius of dial
.
Since:
ags_dial_set_outline_strength ()
void ags_dial_set_outline_strength (AgsDial *dial
,);
guint outline_strength
Set outline strength of dial
.
Since:
ags_dial_get_outline_strength ()
guint ags_dial_get_outline_strength (AgsDial *dial
);
Get outline strength of dial
.
Since:
ags_dial_set_scale_precision ()
void ags_dial_set_scale_precision (AgsDial *dial
,);
guint scale_precision
Set scale precision of dial
.
Since:
ags_dial_get_scale_precision ()
guint ags_dial_get_scale_precision (AgsDial *dial
);
Get scale precision of dial
.
Since:
ags_dial_set_font_size ()
void ags_dial_set_font_size (AgsDial *dial
,);
guint font_size
Set font size of dial
.
Since:
ags_dial_get_font_size ()
guint ags_dial_get_font_size (AgsDial *dial
);
Get font size of dial
.
Since:
ags_dial_set_button_width ()
void ags_dial_set_button_width (AgsDial *dial
,);
gint button_width
Set button width of dial
.
Since:
ags_dial_get_button_width ()
gint ags_dial_get_button_width (AgsDial *dial
);
Get button width of dial
.
Since:
ags_dial_set_button_height ()
void ags_dial_set_button_height (AgsDial *dial
,);
gint button_height
Set button height of dial
.
Since:
ags_dial_get_button_height ()
gint ags_dial_get_button_height (AgsDial *dial
);
Get button height of dial
.
Since:
ags_dial_set_margin_left ()
void ags_dial_set_margin_left (AgsDial *dial
,);
gint margin_left
Set margin left of dial
.
Since:
ags_dial_get_margin_left ()
gint ags_dial_get_margin_left (AgsDial *dial
);
Get margin_left of dial
.
Since:
ags_dial_set_margin_right ()
void ags_dial_set_margin_right (AgsDial *dial
,);
gint margin_right
Set margin right of dial
.
Since:
ags_dial_get_margin_right ()
gint ags_dial_get_margin_right (AgsDial *dial
);
Get margin right of dial
.
Since:
ags_dial_set_adjustment ()
void ags_dial_set_adjustment (AgsDial *dial
,);
GtkAdjustment *adjustment
Set adjustment of dial
.
Since:
ags_dial_get_adjustment ()
GtkAdjustment * ags_dial_get_adjustment (AgsDial *dial
);
Get adjustment of dial
.
Since:
ags_dial_value_changed ()
void ags_dial_value_changed (AgsDial *dial
);
draws the widget
Since:
ags_dial_set_value ()
void ags_dial_set_value (AgsDial *dial
,);
gdouble value
Set value
Since:
AGS_DIAL_CLASS()
#define AGS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_DIAL, AgsDialClass))
AGS_DIAL_GET_CLASS()
#define AGS_DIAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_DIAL, AgsDialClass))
AGS_IS_DIAL_CLASS()
#define AGS_IS_DIAL_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_DIAL))
Types and Values
AGS_DIAL_DEFAULT_HEIGHT
#define AGS_DIAL_DEFAULT_HEIGHT (2 * (AGS_DIAL_DEFAULT_RADIUS + AGS_DIAL_DEFAULT_OUTLINE_STRENGTH + 1))
AGS_DIAL_DEFAULT_WIDTH
#define AGS_DIAL_DEFAULT_WIDTH (2 * (AGS_DIAL_DEFAULT_BUTTON_WIDTH + AGS_DIAL_DEFAULT_MARGIN + AGS_DIAL_DEFAULT_RADIUS + AGS_DIAL_DEFAULT_OUTLINE_STRENGTH + 2))
Property Details
The “adjustment”
property
“adjustment”GObject *
The adjustment storing current value and boundaries.
Owner: AgsDial
Flags: Read / Write
Since:
The “button-height”
property
“button-height”int
The buttons height.
Owner: AgsDial
Flags: Read / Write
Allowed values: >= -1
Default value: 8
Since:
The “button-width”
property
“button-width”int
The buttons width.
Owner: AgsDial
Flags: Read / Write
Allowed values: >= -1
Default value: 12
Since:
The “font-size”
property
“font-size”guint
The font size of the buttons.
Owner: AgsDial
Flags: Read / Write
Default value: 12
Since:
The “margin-left”
property
“margin-left”int
The button's margin left.
Owner: AgsDial
Flags: Read / Write
Allowed values: >= -1
Default value: 4
Since:
The “margin-right”
property
“margin-right”int
The button's margin right.
Owner: AgsDial
Flags: Read / Write
Allowed values: >= -1
Default value: 4
Since:
The “outline-strength”
property
“outline-strength”guint
The outline strength of the knob.
Owner: AgsDial
Flags: Read / Write
Default value: 4
Since:
The “radius”
property
“radius”guint
The radius of the knob.
Owner: AgsDial
Flags: Read / Write
Default value: 10
Since: