2017-05-21 19:27:13 -07:00
|
|
|
class Efl.Ui.Check (Efl.Ui.Nstate, Elm.Interface.Atspi_Widget_Action)
|
2014-03-20 01:27:21 -07:00
|
|
|
{
|
2016-04-29 01:40:54 -07:00
|
|
|
[[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.
|
|
|
|
]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_check;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"
@feature
Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg
Subscribers: saurabhbunty, seoz
Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 02:25:59 -07:00
|
|
|
@property selected {
|
2016-04-29 01:40:54 -07:00
|
|
|
[[The on/off state of the check object.]]
|
2014-03-20 01:27:21 -07:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-04-29 01:40:54 -07:00
|
|
|
value: bool; [[$true if the check object is selected, $false otherwise]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2017-08-23 23:21:59 -07:00
|
|
|
Elm.Widget.on_access_activate;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.theme_apply;
|
2017-08-23 04:41:37 -07:00
|
|
|
Elm.Widget.widget_sub_object_del;
|
2017-01-01 23:48:17 -08:00
|
|
|
Elm.Widget.widget_event;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.Ui.Nstate.count { set; }
|
|
|
|
Efl.Ui.Nstate.value { set; }
|
2017-10-18 18:13:54 -07:00
|
|
|
Efl.Access.state_set { get; }
|
2016-12-27 10:15:41 -08:00
|
|
|
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
events {
|
2016-04-29 01:40:54 -07:00
|
|
|
changed; [[This is called whenever the user changes the state of the check
|
|
|
|
objects (event_info is always NULL).]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
}
|