efl/src/lib/elementary/efl_ui_popup.eo

65 lines
1.5 KiB
Plaintext
Raw Normal View History

enum Efl.Ui.Popup.Align {
none = 0,
center,
left,
right,
top,
bottom
}
class Efl.Ui.Popup(Efl.Ui.Layout)
{
methods {
@property parent_window @protected {
get {
[[Get the parent window of Popup.]]
}
values {
window: Efl.Canvas.Object;
}
}
bg_set {
params {
@in file: string; [[The image file path.]]
@in group: string; [[The image key in $file (if its an Eet one), or
$null, otherwise.]]
}
}
@property bg_repeat_events {
set {
[[Sets whether events should be passed to by a click outside.
Note: The default value is $false.
]]
}
get {
[[Returns value indicating whether bg repeat events is enabled or not.]]
}
values {
repeat: bool; [[If $true, events are passed to lower objects.]]
}
}
@property align {
set {
[[ Set the popup alignment.]]
}
get {
[[ Get the current popup alignment.]]
}
values {
type: Efl.Ui.Popup.Align;
}
}
}
implements {
class.constructor;
Efl.Gfx.position { set; }
Elm.Widget.widget_parent { set; }
Efl.Container.content { get; set; }
Efl.Container.content_unset;
}
events {
bg,clicked; [[This is called whenever the user click background of popup.]]
}
}