efl/src/lib/elementary/efl_ui_focus_object.eo

32 lines
971 B
Plaintext
Raw Normal View History

import eina_types;
mixin Efl.Ui.Focus.Object
{
[[Functions of focusable objects]]
methods {
geometry_get {
[[The geometry which should be used to calculate the relations to others]]
params {
@out rect : Eina.Rectangle; [[the geometry to use]]
}
}
@property focus {
[[This gets called by the manager and should never be called by someone else
It can be used by a implementation of a focus object to adapt to changes which are needed.
The function is emitting the focus state events, if focus is different to the state before.
]]
values {
focus : bool; [[The state in which the object should be put]]
}
}
}
implements {
@empty .geometry_get;
2017-01-02 02:42:35 -08:00
@empty .focus { get; }
}
events {
focus,changed : bool; [[Emitted if the focus state has changed]]
}
}