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.]]
|
|
|
|
}
|
|
|
|
|
2018-01-23 22:50:58 -08:00
|
|
|
class Elm.Bubble (Efl.Ui.Layout, Efl.Ui.Clickable, Efl.Ui.Legacy)
|
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;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.on_access_update;
|
2017-06-04 07:25:36 -07:00
|
|
|
Efl.Part.part;
|
2014-03-19 23:40:07 -07:00
|
|
|
}
|
|
|
|
}
|