summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_check.eo
blob: 3c3b31188ec6f8b7bbb79568fce86168bdbaf878 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
class Elm.Check (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
{
   eo_prefix: elm_obj_check;
   methods {
      @property state {
         set {
            [[Set the on/off state of the check object

              This sets the state of the check. If set with
              @.state_pointer.set, the state of that variable is also
              changed. Calling this doesn't cause the "changed" signal to
              be emitted.
            ]]
         }
         get {
            [[Get the state of the check object]]
         }
         values {
            state: bool; [[The state to use (1 == on, 0 == off)]]
         }
      }
      @property state_pointer {
         set {
            [[Set a convenience pointer to a boolean to change

              This sets a pointer to a boolean, that, in addition to the check
              objects state will also be modified directly. To stop setting the
              object pointed to simply use null as the "statep" parameter.
              If "statep" is not null, then when this is called, the check
              objects state will also be modified to reflect the value of the
              boolean "statep" points to, just like calling @.state.set.
            ]]
         }
         values {
            statep: bool * @nullable; [[Pointer to the boolean to modify]]
         }
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object_Smart.add;
      Elm.Widget.activate;
      Elm.Widget.focus_next_manager_is;
      Elm.Widget.focus_direction_manager_is;
      Elm.Widget.theme_apply;
      Elm.Widget.sub_object_del;
      Elm.Widget.event;
      Elm.Container.content_set;
      Elm.Layout.text_aliases.get;
      Elm.Layout.content_aliases.get;
      Elm.Layout.sizing_eval;
      Elm_Interface_Atspi_Accessible.state_set.get;
      Elm_Interface_Atspi_Widget_Action.elm_actions.get;
   }
   events {
      changed;
      language,changed;
      access,changed;
   }

}