MxSlider
MxSlider — A widget to visualize and control a range
|
|
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── ClutterActor
╰── MxWidget
╰── MxSlider
Implemented Interfaces
MxSlider implements
ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.
Functions
mx_slider_new ()
ClutterActor *
mx_slider_new (void
);
Create a new slider
mx_slider_set_value ()
void
mx_slider_set_value (MxSlider *bar
,
gdouble value
);
Set the value of the slider
mx_slider_get_value ()
gdouble
mx_slider_get_value (MxSlider *bar
);
Retrieve the current value of the media bar
mx_slider_get_buffer_value ()
gdouble
mx_slider_get_buffer_value (MxSlider *slider
);
Get the value of the “buffer-value” property.
Returns
The current value of the "buffer-value" property.
Since: 1.2
mx_slider_set_buffer_value ()
void
mx_slider_set_buffer_value (MxSlider *slider
,
gdouble value
);
Set the value of the “buffer-value” property.
Since: 1.2
Types and Values
struct MxSlider
struct MxSlider;
The contents of this structure are private and should only be accessed
through the public API.
struct MxSliderClass
struct MxSliderClass {
MxWidgetClass parent_class;
/* padding for future expansion */
void (*_padding_0) (void);
void (*_padding_1) (void);
void (*_padding_2) (void);
void (*_padding_3) (void);
void (*_padding_4) (void);
};
Property Details
The “buffer-value”
property
“buffer-value” double
Buffer Value.
Owner: MxSlider
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “value”
property
“value” double
Value.
Owner: MxSlider
Flags: Read / Write
Allowed values: [0,1]
Default value: 0