48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
import eina_types;
|
|
|
|
mixin Efl.Ui.Focus.Object
|
|
{
|
|
[[Functions of focusable objects.
|
|
|
|
@since 1.20
|
|
]]
|
|
methods {
|
|
@property focus_geometry {
|
|
[[The geometry to use to calculate the relations to other objects.]]
|
|
get {
|
|
|
|
}
|
|
values {
|
|
rect : Eina.Rect; [[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 an implementation of a focus object to adapt to
|
|
changes that are needed.
|
|
|
|
The function is emitting the focus state events, if focus is
|
|
different to the previous state.
|
|
]]
|
|
values {
|
|
focus : bool; [[The state in which the object should be put]]
|
|
}
|
|
}
|
|
prepare_logical {
|
|
[[Tells the object that the children of it will be queried soon by the given manager.
|
|
|
|
Deleting items in the manager in this call will result in undefied behaviour and may crash. Dont do that!
|
|
]]
|
|
}
|
|
}
|
|
implements {
|
|
@empty .focus_geometry;
|
|
@empty .prepare_logical;
|
|
}
|
|
events {
|
|
focus,changed : bool; [[Emitted if the focus state has changed]]
|
|
}
|
|
}
|