summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_check.eo
blob: 95d16350543a5d54b4f465a92450d691e40fcd98 (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
class @beta Efl.Ui.Check extends Efl.Ui.Layout_Base implements Efl.Access.Widget.Action, Efl.Text, Efl.Content
{
   [[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.
   ]]
   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 {
      Efl.Object.constructor;
      Efl.Ui.Widget.on_access_activate;
      Efl.Ui.Widget.theme_apply;
      Efl.Ui.Widget.widget_input_event_handler;
      Efl.Access.Object.state_set { get; }
      Efl.Access.Widget.Action.elm_actions { get; }
      Efl.Content.content { get; set; }
      Efl.Content.content_unset;
      Efl.Text.text { get; set; }
      Efl.Ui.L10n.l10n_text { get; set; }
   }
   events {
      selected,changed : bool; [[Emitted each time selected has changed]]
   }
}