summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_check.eo
blob: 441227776d4b1eda6ca51de6756abc4497ff0102 (plain) (blame)
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
class Efl.Ui.Check (Efl.Ui.Nstate, Efl.Access.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.
   ]]
   legacy_prefix: elm_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;
      Efl.Object.constructor;
      Elm.Widget.on_access_activate;
      Elm.Widget.theme_apply;
      Elm.Widget.widget_sub_object_del;
      Elm.Widget.widget_event;
      Efl.Ui.Nstate.count { set; }
      Efl.Ui.Nstate.value { set; }
      Efl.Access.state_set { get; }
      Efl.Access.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).]]
   }
}