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 () |
#define | AGS_IS_SCALE() |
#define | AGS_IS_SCALE_CLASS() |
#define | AGS_SCALE() |
#define | AGS_SCALE_CLASS() |
#define | AGS_SCALE_GET_CLASS() |
GType | ags_scale_get_type () |
char * | control-name | Read / Write |
double | default-value | Read / Write |
double | lower | Read / Write |
double | upper | Read / Write |
#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 |
#define | AGS_TYPE_SCALE |
struct | AgsScale |
struct | AgsScaleClass |
AgsScale implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.
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
#define AGS_IS_SCALE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SCALE))
#define AGS_SCALE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SCALE, AgsScaleClass))
#define AGS_SCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_SCALE, AgsScaleClass))
“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