2016-05-12 03:21:36 -07:00
|
|
|
class Elm.Multibuttonentry.Item(Elm.Widget.Item,
|
2016-05-12 03:37:43 -07:00
|
|
|
Elm.Interface.Atspi_Widget_Action)
|
2014-09-27 22:15:07 -07:00
|
|
|
{
|
2016-11-24 02:48:52 -08:00
|
|
|
[[Elementary multibuttonentry class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_multibuttonentry_item;
|
2014-09-27 22:15:07 -07:00
|
|
|
eo_prefix: elm_obj_multibuttonentry_item;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property selected {
|
2015-08-06 06:25:44 -07:00
|
|
|
[[Control the selected state of an item]]
|
2014-09-27 22:15:07 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
}
|
|
|
|
values {
|
2015-08-06 06:25:44 -07:00
|
|
|
selected: bool; [[$true if selected $false otherwise]]
|
2014-09-27 22:15:07 -07:00
|
|
|
}
|
|
|
|
}
|
2015-08-06 06:25:44 -07:00
|
|
|
prev_get @const {
|
|
|
|
[[Get the previous item in the multibuttonentry]]
|
2016-05-23 07:41:28 -07:00
|
|
|
return: Elm.Widget.Item; [[The item before the item]]
|
2014-09-27 22:15:07 -07:00
|
|
|
}
|
2015-08-06 06:25:44 -07:00
|
|
|
next_get @const {
|
|
|
|
[[Get the next item in the multibuttonentry]]
|
2016-05-23 07:41:28 -07:00
|
|
|
return: Elm.Widget.Item; [[The item after the item]]
|
2014-09-27 22:15:07 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2016-05-12 03:21:36 -07:00
|
|
|
Elm.Widget.Item.signal_emit;
|
2016-12-27 10:15:41 -08:00
|
|
|
Elm.Widget.Item.part_text { get; set; }
|
2016-05-12 03:21:36 -07:00
|
|
|
Elm.Widget.Item.disable;
|
2016-12-27 10:15:41 -08:00
|
|
|
Elm.Interface.Atspi_Accessible.name { get; }
|
elc_multibuttonentry: role of MBE item, MBE updated, and state_set_get API added.
Summary:
Reason for role change:
MBE items do not act like push buttons, they need to maintain their status and at a time only one item can be selected, they act like radio buttons.
Role change of MBE from entry to panel, because MBE is just a container and entry is one of the children, when entry gets access frame, it will work as how entry works, but making MBE role as entry does not work as expected and also MBE should not receive highlight as a whole but only its children should receive highlight one more reason why MBE role cannot be entry.
state_set_get API added to get items state.
Test Plan:
When atspi mode is enabled the access frame has to
navigate directly on item and not on MBE as a whole and state has to
be read out
Reviewers: kimcinoo, cedric
Reviewed By: cedric
Subscribers: cedric, govi, rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D4925
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-06-05 13:56:42 -07:00
|
|
|
Elm.Interface.Atspi_Accessible.state_set { get; }
|
2016-12-27 10:15:41 -08:00
|
|
|
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
|
2014-09-27 22:15:07 -07:00
|
|
|
}
|
|
|
|
}
|