2015-04-22 04:43:05 -07:00
|
|
|
class Elm.Check (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
|
2014-03-20 01:27:21 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_check;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property state {
|
2014-03-20 01:27:21 -07:00
|
|
|
set {
|
2015-07-03 07:58:59 -07:00
|
|
|
[[Set the on/off state of the check object
|
2014-03-20 01:27:21 -07:00
|
|
|
|
2015-07-03 07:58:59 -07:00
|
|
|
This sets the state of the check. If set with
|
2015-07-08 07:49:38 -07:00
|
|
|
@.state_pointer.set, the state of that variable is also
|
2015-07-03 07:58:59 -07:00
|
|
|
changed. Calling this doesn't cause the "changed" signal to
|
|
|
|
be emitted.
|
|
|
|
]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-03 07:58:59 -07:00
|
|
|
[[Get the state of the check object]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-03 07:58:59 -07:00
|
|
|
state: bool; [[The state to use (1 == on, 0 == off)]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property state_pointer {
|
2014-03-20 01:27:21 -07:00
|
|
|
set {
|
2015-07-03 07:58:59 -07:00
|
|
|
[[Set a convenience pointer to a boolean to change
|
2014-03-20 01:27:21 -07:00
|
|
|
|
2015-07-03 07:58:59 -07:00
|
|
|
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
|
2015-07-08 07:49:38 -07:00
|
|
|
boolean "statep" points to, just like calling @.state.set.
|
2015-07-03 07:58:59 -07:00
|
|
|
]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-03 07:58:59 -07:00
|
|
|
statep: bool * @nullable; [[Pointer to the boolean to modify]]
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Evas.Object_Smart.add;
|
2015-04-22 04:33:10 -07:00
|
|
|
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;
|
2015-04-22 04:38:51 -07:00
|
|
|
Elm.Container.content_set;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.text_aliases.get;
|
|
|
|
Elm.Layout.content_aliases.get;
|
|
|
|
Elm.Layout.sizing_eval;
|
2014-06-20 02:47:39 -07:00
|
|
|
Elm_Interface_Atspi_Accessible.state_set.get;
|
2014-07-10 04:11:28 -07:00
|
|
|
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
|
2014-03-20 01:27:21 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
changed;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|