enum Elm.Actionslider.Pos
{
  [[A position for indicators, magnets, and enabled items.]]
   legacy: elm_actionslider;

   none = 0, [[No position is set.]]
   left = 1 << 0, [[Left position.]]
   center = 1 << 1, [[Center position.]]
   right = 1 << 2, [[Right position.]]
   all = (1 << 3) - 1 [[All positions for left/center/right.]]
}

class Elm.Actionslider (Elm.Layout, Evas.Selectable_Interface)
{
   eo_prefix: elm_obj_actionslider;
   methods {
      @property indicator_pos {
         set @internal {
            [[Set actionslider indicator position.]]
         }
         get @internal {
            [[Get actionslider indicator position.]]
         }
         values {
            pos: Elm.Actionslider.Pos; [[The position of the indicator.]]
         }
      }
      @property magnet_pos {
         set @internal {
            [[Set actionslider magnet position.

              To make multiple positions magnets OR them together (e.g.
              ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT)
            ]]
         }
         get @internal {
            [[Get actionslider magnet position.]]
         }
         values {
            pos: Elm.Actionslider.Pos; [[Bit mask indicating the magnet positions.]]
         }
      }
      @property enabled_pos {
         set @internal {
            [[Set actionslider enabled position. To set multiple positions as
              enabled OR them together(e.g.
              #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT).

              Note: All the positions are enabled by default.
            ]]
         }
         get @internal {
            [[Get actionslider enabled position.]]
         }
         values {
            pos: Elm.Actionslider.Pos; [[Bit mask indicating the enabled positions.]]
         }
      }
      @property selected_label {
         get @internal {
            [[Get actionslider selected label.]]
            return: const(char)*;
         }
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object_Smart.add;
      Elm.Widget.focus_next_manager_is;
      Elm.Widget.focus_direction_manager_is;
      Elm.Widget.theme_apply;
      Elm.Layout.text_set;
      Elm.Layout.text_get;
      Elm.Layout.text_aliases.get;
      Elm.Layout.sizing_eval;
   }
   events {
      language,changed;
      access,changed;
      pos_changed;
   }

}
