summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_check.eo
blob: c2ab375d66e7c37356a1e928542a66f4b3d65a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
class Elm.Check (Efl.Ui.Nstate, Elm.Interface.Atspi_Widget_Action)
{
   [[Check widget

   The check widget allows for toggling a value between true and false.
   Check objects are a lot like radio objects in layout and functionality,
   except they do not work as a group, but independently, and only toggle
   the value of a boolean between false and true.
   ]]
   eo_prefix: efl_ui_check;
   methods {
      @property selected {
         [[The on/off state of the check object.]]
         set {
         }
         get {
         }
         values {
            value: bool; [[$true if the check object is selected, $false otherwise]]
         }
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object.Smart.add;
      Elm.Widget.activate;
      Elm.Widget.theme_apply;
      Elm.Widget.sub_object_del;
      Elm.Widget.event;
      Elm.Layout.text_aliases.get;
      Efl.Ui.Nstate.count.set;
      Efl.Ui.Nstate.value.set;
      Elm.Interface.Atspi_Accessible.state_set.get;
      Elm.Interface.Atspi_Widget_Action.elm_actions.get;
   }
   events {
      changed; [[This is called whenever the user changes the state of the check
                  objects (event_info is always NULL).]]
   }
}