2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Check extends Efl.Ui.Nstate implements Efl.Access.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.
|
|
|
|
]]
|
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 {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.on_access_activate;
|
|
|
|
Efl.Ui.Widget.theme_apply;
|
2019-03-04 10:37:18 -08:00
|
|
|
Efl.Ui.Widget.widget_input_event_handler;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.Ui.Nstate.value { set; }
|
2018-04-03 04:27:30 -07:00
|
|
|
Efl.Access.Object.state_set { get; }
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
}
|