2015-07-07 01:00:07 -07:00
|
|
|
enum Elm.Bubble.Pos
|
|
|
|
{
|
2015-07-08 07:49:38 -07:00
|
|
|
[[Defines the corner values for a bubble.
|
2015-07-07 01:00:07 -07:00
|
|
|
|
2015-07-08 07:49:38 -07:00
|
|
|
The corner will be used to determine where the arrow of the
|
|
|
|
bubble points to.
|
2015-07-07 01:00:07 -07:00
|
|
|
]]
|
|
|
|
invalid = -1, [[Invalid corner.]]
|
|
|
|
top_left, [[The arrow of the bubble points to the top left corner.]]
|
|
|
|
top_right, [[The arrow of the bubble points to the top right corner.]]
|
|
|
|
bottom_left, [[The arrow of the bubble points to the bottom left corner.]]
|
|
|
|
bottom_right [[The arrow of the bubble points to the bottom right corner.]]
|
|
|
|
}
|
|
|
|
|
2016-06-10 01:29:40 -07:00
|
|
|
class Elm.Bubble (Elm.Layout, Efl.Ui.Clickable)
|
2014-03-19 23:40:07 -07:00
|
|
|
{
|
2016-04-27 03:54:59 -07:00
|
|
|
[[Speech bubble widget used in messaging applications]]
|
|
|
|
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_bubble;
|
2014-03-19 23:40:07 -07:00
|
|
|
eo_prefix: elm_obj_bubble;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property pos {
|
2016-04-27 03:54:59 -07:00
|
|
|
[[The corner of the bubble
|
2014-03-19 23:40:07 -07:00
|
|
|
|
2016-04-27 03:54:59 -07:00
|
|
|
This function sets the corner of the bubble. The corner will be used to
|
|
|
|
determine where the arrow in the frame points to and where label, icon and
|
|
|
|
info are shown. See @Elm.Bubble.Pos
|
2015-07-16 07:13:27 -07:00
|
|
|
]]
|
2016-04-27 03:54:59 -07:00
|
|
|
set {
|
2014-03-19 23:40:07 -07:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2015-07-16 07:13:27 -07:00
|
|
|
pos: Elm.Bubble.Pos; [[The given corner for the bubble.]]
|
2014-03-19 23:40:07 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
2016-06-17 01:26:08 -07:00
|
|
|
Efl.Canvas.Group.group_add;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.focus_direction;
|
|
|
|
Elm.Widget.focus_next_manager_is;
|
|
|
|
Elm.Widget.focus_next;
|
|
|
|
Elm.Widget.focus_direction_manager_is;
|
|
|
|
Elm.Widget.access;
|
2014-12-09 10:41:16 -08:00
|
|
|
Elm.Layout.text.set;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.text_aliases.get;
|
|
|
|
Elm.Layout.content_aliases.get;
|
|
|
|
Elm.Layout.sizing_eval;
|
2014-03-19 23:40:07 -07:00
|
|
|
}
|
|
|
|
}
|