Top |
void | ags_scale_set_control_name () |
gchar * | ags_scale_get_control_name () |
void | ags_scale_set_upper () |
gdouble | ags_scale_get_upper () |
void | ags_scale_set_lower () |
gdouble | ags_scale_get_lower () |
void | ags_scale_set_default_value () |
gdouble | ags_scale_get_default_value () |
void | ags_scale_value_changed () |
AgsScale * | ags_scale_new () |
char * | control-name | Read / Write |
double | default-value | Read / Write |
double | lower | Read / Write |
double | upper | Read / Write |
#define | AGS_SCALE_DEFAULT_WIDTH_REQUEST |
#define | AGS_SCALE_DEFAULT_HEIGHT_REQUEST |
#define | AGS_SCALE_DEFAULT_CONTROL_NAME |
#define | AGS_SCALE_DEFAULT_LOWER |
#define | AGS_SCALE_DEFAULT_UPPER |
#define | AGS_SCALE_DEFAULT_VALUE |
#define | AGS_SCALE_DEFAULT_STEP_COUNT |
#define | AGS_SCALE_DEFAULT_PAGE_SIZE |
enum | AgsScaleFlags |
enum | AgsScaleButtonState |
enum | AgsScaleKeyMask |
enum | AgsScaleLayout |
enum | AgsScaleAction |
void ags_scale_set_control_name (AgsScale *scale
,gchar *control_name
);
Set control_name
of scale
.
Since: 3.2.2
gchar *
ags_scale_get_control_name (AgsScale *scale
);
Get scale height of scale
.
Since: 3.2.2
void ags_scale_set_upper (AgsScale *scale
,gdouble upper
);
Set upper
of scale
.
Since: 3.2.2
gdouble
ags_scale_get_upper (AgsScale *scale
);
Get upper of scale
.
Since: 3.2.2
void ags_scale_set_lower (AgsScale *scale
,gdouble lower
);
Set lower
of scale
.
Since: 3.2.2
gdouble
ags_scale_get_lower (AgsScale *scale
);
Get lower of scale
.
Since: 3.2.2
void ags_scale_set_default_value (AgsScale *scale
,gdouble default_value
);
Set default_value
of scale
.
Since: 3.2.2
gdouble
ags_scale_get_default_value (AgsScale *scale
);
Get normalized volume of scale
.
Since: 3.2.2
void ags_scale_value_changed (AgsScale *scale
,gdouble default_value
);
Emits ::value-changed event.
Since: 3.0.0
AgsScale * ags_scale_new (GtkOrientation orientation
,guint width_request
,guint height_request
);
Create a new instance of AgsScale.
orientation |
the GtkOrientation |
|
width_request |
the scale's width |
|
height_request |
the scale's height |
Since: 3.0.0
“control-name”
property “control-name” char *
The scale's control name.
Owner: AgsScale
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“default-value”
property “default-value” double
The scale's default value.
Owner: AgsScale
Flags: Read / Write
Default value: 0
Since: 3.0.0
“lower”
property “lower” double
The scale's lower range.
Owner: AgsScale
Flags: Read / Write
Default value: 0
Since: 3.0.0
“value-changed”
signalvoid user_function (AgsScale *scale, double default_value, gpointer user_data)
The ::value-changed signal notifies about modified default value.
scale |
the AgsScale |
|
default_value |
the changed default value |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0