Interface Efl.Ui.Focus.IObject
Functions of focusable objects. (Since EFL 1.22)
Syntax
public interface IObject : IWrapper, IDisposable
Properties
Focus
Whether the widget is currently focused or not. (Since EFL 1.22)
Declaration
bool Focus { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The focused state of the object. |
FocusGeometry
The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects. (Since EFL 1.22)
Declaration
Rect FocusGeometry { get; }
Property Value
Type | Description |
---|---|
Eina.Rect | The geometry to use. |
FocusManager
This is the focus manager where this focus object is registered in. The element which is the root
of an Efl.Ui.Focus.IManager will not have this focus manager as this object, but rather the focus manager where that is registered in.
(Since EFL 1.22)
Declaration
IManager FocusManager { get; }
Property Value
Type | Description |
---|---|
Efl.Ui.Focus.IManager | The manager object. |
FocusParent
The logical parent used by this object. (Since EFL 1.22)
Declaration
IObject FocusParent { get; }
Property Value
Type | Description |
---|---|
Efl.Ui.Focus.IObject | The focus parent. |
Methods
GetFocus()
Whether the widget is currently focused or not. (Since EFL 1.22)
Declaration
bool GetFocus()
Returns
Type | Description |
---|---|
System.Boolean | The focused state of the object. |
GetFocusGeometry()
The geometry (that is, the bounding rectangle) used to calculate the relationship with other objects. (Since EFL 1.22)
Declaration
Rect GetFocusGeometry()
Returns
Type | Description |
---|---|
Eina.Rect | The geometry to use. |
GetFocusManager()
This is the focus manager where this focus object is registered in. The element which is the root
of an Efl.Ui.Focus.IManager will not have this focus manager as this object, but rather the focus manager where that is registered in.
(Since EFL 1.22)
Declaration
IManager GetFocusManager()
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IManager | The manager object. |
GetFocusParent()
The logical parent used by this object. (Since EFL 1.22)
Declaration
IObject GetFocusParent()
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IObject | The focus parent. |
SetupOrder()
Tells the object that its children will be queried soon by the focus manager. Overwrite this to have a chance to update the order of the children. Deleting items in this call will result in undefined behaviour and may cause your system to crash. (Since EFL 1.22)
Declaration
void SetupOrder()
Events
ChildFocusChangedEvent
Emitted if child_focus has changed. (Since EFL 1.22)
Declaration
event EventHandler<ObjectChildFocusChangedEventArgs> ChildFocusChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ObjectChildFocusChangedEventArgs> |
FocusChangedEvent
Emitted if the focus state has changed. (Since EFL 1.22)
Declaration
event EventHandler<ObjectFocusChangedEventArgs> FocusChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ObjectFocusChangedEventArgs> |
FocusGeometryChangedEvent
Emitted if focus geometry of this object has changed. (Since EFL 1.22)
Declaration
event EventHandler<ObjectFocusGeometryChangedEventArgs> FocusGeometryChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ObjectFocusGeometryChangedEventArgs> |
FocusManagerChangedEvent
Emitted when a new manager is the parent for this object. (Since EFL 1.22)
Declaration
event EventHandler<ObjectFocusManagerChangedEventArgs> FocusManagerChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ObjectFocusManagerChangedEventArgs> |
FocusParentChangedEvent
Emitted when a new logical parent should be used. (Since EFL 1.22)
Declaration
event EventHandler<ObjectFocusParentChangedEventArgs> FocusParentChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ObjectFocusParentChangedEventArgs> |