## MxSlider MxSlider — A widget to visualize and control a range |

## Synopsis

    struct              MxSlider;
    struct              MxSliderClass;
    ClutterActor *      mx_slider_new                       (void);
    void                mx_slider_set_value                 (MxSlider *bar,
                                                             gdouble value);
    gdouble             mx_slider_get_value                 (MxSlider *bar);
    gdouble             mx_slider_get_buffer_value          (MxSlider *slider);
    void                mx_slider_set_buffer_value          (MxSlider *slider,
                                                             gdouble value);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----ClutterActor
                   +----MxWidget
                         +----MxSlider

## Implemented Interfaces

MxSlider implements ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.

## Properties

      "buffer-value"             gdouble               : Read / Write
      "value"                    gdouble               : Read / Write

## Description

FIXME

## Details

### 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);
    };

### mx_slider_new ()

    ClutterActor *      mx_slider_new                       (void);

Create a new slider

Returns : | a new MxSlider

### mx_slider_set_value ()

    void                mx_slider_set_value                 (MxSlider *bar,
                                                             gdouble value);

Set the value of the slider

`bar` : | A MxSlider
`value` : | A value between 0.0 and 1.0

### mx_slider_get_value ()

    gdouble             mx_slider_get_value                 (MxSlider *bar);

Retrieve the current value of the media bar

`bar` : | A MxSlider
Returns : | gdouble

### mx_slider_get_buffer_value ()

    gdouble             mx_slider_get_buffer_value          (MxSlider *slider);

Get the value of the "buffer-value" property.

`slider` : | A MxSlider
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.

`slider` : | A MxSlider
`value` : | the new buffer value of the slider

Since 1.2

## Property Details

### The `"buffer-value"` property

      "buffer-value"             gdouble               : Read / Write

Buffer Value.

Allowed values: [0,1]

Default value: 0

### The `"value"` property

      "value"                    gdouble               : Read / Write

Value.

Allowed values: [0,1]

Default value: 0