efl/src/lib/elementary/elm_check.eo

43 lines
1.2 KiB
Plaintext

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.
]]
legacy_prefix: elm_check;
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;
Efl.Canvas.Group.group_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).]]
}
}