Class Efl.Ui.Win
Efl UI window class. (Since EFL 1.22)
Inheritance
Syntax
public class Win : Widget, IPointer, IColor, IEntity, IHint, IMapping, IStack, IInterface, IPart, IPropertyBind, IView, IObject, IContent, IScreen, IText, IScene, IState, IWidgetFocusManager, IManager, IManagerWindowRoot, IWrapper, IDisposable
Examples
public static Efl.Ui.Win CreateWin()
{
Efl.Ui.Win win = new Efl.Ui.Win(parent: null);
win.SetWinType(type: Efl.Ui.WinType.Basic);
win.SetText(text: "Test Window");
win.SetAutohide(autohide: true);
return win;
}
The above snippet of code contains the method that creates the Efl.Ui.Win widget instance and uses methods to set the window type, name and autohide state.
Constructors
Win(EoWrapper.ConstructingHandle)
Subclasses should override this constructor if they are expected to be instantiated from native code. Do not call this constructor directly.
Declaration
protected Win(EoWrapper.ConstructingHandle ch)
Parameters
Type | Name | Description |
---|---|---|
Efl.Eo.EoWrapper.ConstructingHandle | ch | Tag struct storing the native handle of the object being constructed. |
Win(Object, String, String)
Initializes a new instance of the Efl.Ui.Win class.
Declaration
public Win(Object parent, string winName = null, string style = null)
Parameters
Type | Name | Description |
---|---|---|
Efl.Object | parent | Parent instance. |
System.String | winName | The window name. See Efl.Ui.Win.SetWinName(System.String) |
System.String | style | The widget style to use. See Efl.Ui.Widget.SetStyle(System.String) |
Win(IntPtr, Object)
Initializes a new instance of the Efl.Ui.Win class. Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.
Declaration
protected Win(IntPtr baseKlass, Object parent)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | baseKlass | The pointer to the base native Eo class. |
Efl.Object | parent | The Efl.Object parent of this instance. |
Properties
Alpha
The alpha channel state of a window.
If alpha
is true, the alpha channel of the canvas will be enabled possibly making parts of the window completely or partially transparent. This is also subject to the underlying system supporting it, for example a system using a compositing manager.
Note: Alpha window can be enabled automatically by window theme style's property. If "alpha" data.item is "1" or "true" in window style(eg. elm/win/base/default), the window is switched to alpha automatically without the explicit api call. (Since EFL 1.22)
Declaration
public bool Alpha { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
BorderElements
Elements which are at the border of the graph. This means one of the relations right,left or down,up are not set. This call flushes all changes. See Efl.Ui.Focus.IManager.Move(Efl.Ui.Focus.Direction). (Since EFL 1.22)
Declaration
public Iterator<IObject> BorderElements { get; }
Property Value
Type | Description |
---|---|
Eina.Iterator<Efl.Ui.Focus.IObject> | An iterator over the border objects. |
Content
Sub-object currently set as this object's single content.
If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content
is set the object will become empty (it will have no sub-object).
(Since EFL 1.22)
Declaration
public IEntity Content { get; set; }
Property Value
Type | Description |
---|---|
Efl.Gfx.IEntity | The sub-object. |
ExitOnAllWindowsClosed
Enable quitting the main loop when all windows are closed. When set, the main loop will quit with the passed exit code once all windows have been closed.
The Eina.Value (object still in beta stage) passed should be EMPTY
to unset this state or an int value to be used as the exit code.
Note this is different from Efl.Ui.Win.ExitOnClose which exits when a given window is closed. (Since EFL 1.22)
Declaration
public static Value ExitOnAllWindowsClosed { get; set; }
Property Value
Type | Description |
---|---|
Eina.Value | The exit code to use when exiting. |
ExitOnClose
Enable quitting the main loop when this window is closed. When set, the window's loop object will exit using the passed exit code if the window is closed.
The Eina.Value (object still in beta stage) passed should be EMPTY
to unset this state or an int value to be used as the exit code.
Note this is different from Efl.Ui.Win.ExitOnAllWindowsClosed which exits when ALL windows are closed. (Since EFL 1.22)
Declaration
public Value ExitOnClose { get; set; }
Property Value
Type | Description |
---|---|
Eina.Value | The exit code to use when exiting |
FocusHighlightAnimate
Whether focus highlight should animate or not. See also Efl.Ui.Win.FocusHighlightStyle. See also Efl.Ui.Win.FocusHighlightEnabled. (Since EFL 1.22)
Declaration
public bool FocusHighlightAnimate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The enabled value for the highlight animation. |
FocusHighlightEnabled
Whether focus highlight is enabled or not. See also Efl.Ui.Win.FocusHighlightStyle. See also Efl.Ui.Win.FocusHighlightAnimate. (Since EFL 1.22)
Declaration
public bool FocusHighlightEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The enabled value for the highlight. |
Examples
var win = new Efl.Ui.Win(Efl.App.AppMain);
win.FocusHighlightEnabled = true;
FocusHighlightStyle
Control the widget focus highlight style.
If style
is null
, the default will be used.
See also Efl.Ui.Win.FocusHighlightEnabled. See also Efl.Ui.Win.FocusHighlightAnimate. (Since EFL 1.22)
Declaration
public string FocusHighlightStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the focus highlight style. |
Fullscreen
The fullscreen state of a window. (Since EFL 1.22)
Declaration
public bool Fullscreen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If |
GroupObjectsCalculating
Get if the canvas is currently calculating group objects. (Since EFL 1.22)
Declaration
public bool GroupObjectsCalculating { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HintBase
Base size for objects with sizing restrictions. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Efl.Ui.Win.HintBase + N x Efl.Ui.Win.HintStep is what is calculated for object sizing restrictions.
See also Efl.Ui.Win.HintStep. (Since EFL 1.22)
Declaration
public Size2D HintBase { get; set; }
Property Value
Type | Description |
---|---|
Eina.Size2D | Base size (hint) in pixels. |
HintStep
Step size for objects with sizing restrictions. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Set this to for an object to scale up by steps and not continuously.
Efl.Ui.Win.HintBase + N x Efl.Ui.Win.HintStep is what is calculated for object sizing restrictions. (Since EFL 1.22)
Declaration
public Size2D HintStep { get; set; }
Property Value
Type | Description |
---|---|
Eina.Size2D | Step size (hint) in pixels. |
IconObject
A window object's icon. This sets an image to be used as the icon for the given window, in the window manager decoration part. The exact pixel dimensions of the object (not object size) will be used and the image pixels will be used as-is when this function is called. If the image object has been updated, then call this function again to source the image pixels and place them in the window's icon. Note that only objects of type Efl.Canvas.Image (object still in beta stage) or Efl.Ui.Image are allowed. (Since EFL 1.22)
Declaration
public Object IconObject { get; set; }
Property Value
Type | Description |
---|---|
Efl.Canvas.Object | The image object to use for an icon. |
ImageMaxSize
The maximum image size the canvas can possibly handle.
This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns true
. It returns false
if no extra constraint on maximum image size exists.
The default limit is 65535x65535. (Since EFL 1.22)
Declaration
public Size2D ImageMaxSize { get; }
Property Value
Type | Description |
---|---|
Eina.Size2D |
|
IndicatorMode
In some environments you may have an indicator that shows battery status, reception, time etc. This is the indicator. Sometimes you don't want this because you provide the same functionality inside your app, so this will request that the indicator is disabled in such circumstances. The default settings depends on the environment. For example, on phones, the default is to enable the indicator. The indicator is disabled on devices like televisions however. (Since EFL 1.22)
Declaration
public WinIndicatorMode IndicatorMode { get; set; }
Property Value
Type | Description |
---|---|
Efl.Ui.WinIndicatorMode | The type, one of Efl.Ui.WinIndicatorMode. |
ManagerFocus
The element which is currently focused by this manager.
Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus
is a logical child (which cannot receive focus), the next regular object is selected instead. If there is no such object, focus does not change.
(Since EFL 1.22)
Declaration
public IObject ManagerFocus { get; set; }
Property Value
Type | Description |
---|---|
Efl.Ui.Focus.IObject | Currently focused element. |
Maximized
The maximized state of a window. (Since EFL 1.22)
Declaration
public bool Maximized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If |
Minimized
The minimized state of a window. (Since EFL 1.22)
Declaration
public bool Minimized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If |
Redirect
Add another manager to serve the move requests.
If this value is set, all move requests are redirected to this manager object. Set it to null
once nothing should be redirected anymore.
(Since EFL 1.22)
Declaration
public IManager Redirect { get; set; }
Property Value
Type | Description |
---|---|
Efl.Ui.Focus.IManager | The new focus manager. |
Root
Root node for all logical sub-trees. This property can only be set once. (Since EFL 1.22)
Declaration
public IObject Root { get; set; }
Property Value
Type | Description |
---|---|
Efl.Ui.Focus.IObject | Object to register as the root of this manager object. |
ScreenDpi
The pixel density in DPI (Dots Per Inch) for the screen that a window is on. (Since EFL 1.22)
Declaration
public (int, int)ScreenDpi { get; }
Property Value
Type | Description |
---|---|
System.ValueTuple<System.Int32, System.Int32> |
ScreenRotation
The rotation of the screen. Most engines only return multiples of 90. (Since EFL 1.22)
Declaration
public int ScreenRotation { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Screen rotation in degrees. |
ScreenScaleFactor
Screen scaling factor. This is the factor by which window contents will be scaled on the screen.
Note that on some display systems this information is not available and a value of 1.0 will be returned. (Since EFL 1.22)
Declaration
public float ScreenScaleFactor { get; }
Property Value
Type | Description |
---|---|
System.Single | The screen scaling factor. |
ScreenSizeInPixels
Screen size (in pixels) for the screen. Note that on some display systems this information is not available and a value of 0x0 will be returned. (Since EFL 1.22)
Declaration
public Size2D ScreenSizeInPixels { get; }
Property Value
Type | Description |
---|---|
Eina.Size2D | The screen size in pixels. |
WinName
The window name. The meaning of name depends on the underlying windowing system.
The window name is a construction property that can only be set at creation time, before finalize. In C this means inside efl_add
().
Note: Once set, it cannot be modified afterwards. (Since EFL 1.22)
Declaration
public string WinName { get; set; }
Property Value
Type | Description |
---|---|
System.String | Window name |
Methods
Activate()
Activate a window object.
This function sends a request to the Window Manager to activate the window pointed by obj
. If honored by the WM, the window will receive the keyboard focus.
Note: This is just a request that a Window Manager may ignore, so calling this function does not ensure in any way that the window will be the active one afterwards. (Since EFL 1.22)
Declaration
public virtual void Activate()
CalculateGroupObjects()
Call user-provided calculate
group functions and unset the flag signalling that the object needs to get recalculated to all group objects in the canvas.
(Since EFL 1.22)
Declaration
public virtual void CalculateGroupObjects()
CreateFocusManager(IObject)
If the widget needs a focus manager, this function will be called. It can be used and overridden to inject your own manager or set custom options on the focus manager. (Since EFL 1.22)
Declaration
protected virtual IManager CreateFocusManager(IObject root)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.IObject | root | The logical root object for focus. |
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IManager | The focus manager. |
DirtyLogicUnfreeze()
Enables the cache invalidation when an object is moved. This is the counterpart to Efl.Ui.Focus.IManager.FreezeDirtyLogic(). (Since EFL 1.22)
Declaration
public virtual void DirtyLogicUnfreeze()
FreezeDirtyLogic()
Disables the cache invalidation when an object is moved. Even if an object is moved, the focus manager will not recalculate its relations. This can be used when you know that the set of widgets in the focus manager is moved the same way, so the relations between the widgets in the set do not change and complex calculations can be avoided. Use Efl.Ui.Focus.IManager.DirtyLogicUnfreeze() to re-enable relationship calculation. (Since EFL 1.22)
Declaration
public virtual void FreezeDirtyLogic()
GetAlpha()
The alpha channel state of a window.
If alpha
is true, the alpha channel of the canvas will be enabled possibly making parts of the window completely or partially transparent. This is also subject to the underlying system supporting it, for example a system using a compositing manager.
Note: Alpha window can be enabled automatically by window theme style's property. If "alpha" data.item is "1" or "true" in window style(eg. elm/win/base/default), the window is switched to alpha automatically without the explicit api call. (Since EFL 1.22)
Declaration
public virtual bool GetAlpha()
Returns
Type | Description |
---|---|
System.Boolean |
|
GetBorderElements()
Elements which are at the border of the graph. This means one of the relations right,left or down,up are not set. This call flushes all changes. See Efl.Ui.Focus.IManager.Move(Efl.Ui.Focus.Direction). (Since EFL 1.22)
Declaration
public virtual Iterator<IObject> GetBorderElements()
Returns
Type | Description |
---|---|
Eina.Iterator<Efl.Ui.Focus.IObject> | An iterator over the border objects. |
GetContent()
Sub-object currently set as this object's single content.
If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content
is set the object will become empty (it will have no sub-object).
(Since EFL 1.22)
Declaration
public virtual IEntity GetContent()
Returns
Type | Description |
---|---|
Efl.Gfx.IEntity | The sub-object. |
GetExitOnAllWindowsClosed()
Enable quitting the main loop when all windows are closed. When set, the main loop will quit with the passed exit code once all windows have been closed.
The Eina.Value (object still in beta stage) passed should be EMPTY
to unset this state or an int value to be used as the exit code.
Note this is different from Efl.Ui.Win.ExitOnClose which exits when a given window is closed. (Since EFL 1.22)
Declaration
public static Value GetExitOnAllWindowsClosed()
Returns
Type | Description |
---|---|
Eina.Value | The exit code to use when exiting. |
GetExitOnClose()
Enable quitting the main loop when this window is closed. When set, the window's loop object will exit using the passed exit code if the window is closed.
The Eina.Value (object still in beta stage) passed should be EMPTY
to unset this state or an int value to be used as the exit code.
Note this is different from Efl.Ui.Win.ExitOnAllWindowsClosed which exits when ALL windows are closed. (Since EFL 1.22)
Declaration
public virtual Value GetExitOnClose()
Returns
Type | Description |
---|---|
Eina.Value | The exit code to use when exiting |
GetFocusHighlightAnimate()
Get the animate value of the focus highlight for this window. (Since EFL 1.22)
Declaration
public virtual bool GetFocusHighlightAnimate()
Returns
Type | Description |
---|---|
System.Boolean | The enabled value for the highlight animation. |
GetFocusHighlightEnabled()
Get the enabled value of the focus highlight for this window. (Since EFL 1.22)
Declaration
public virtual bool GetFocusHighlightEnabled()
Returns
Type | Description |
---|---|
System.Boolean | The enabled value for the highlight. |
GetFocusHighlightStyle()
Control the widget focus highlight style.
If style
is null
, the default will be used.
See also Efl.Ui.Win.FocusHighlightEnabled. See also Efl.Ui.Win.FocusHighlightAnimate. (Since EFL 1.22)
Declaration
public virtual string GetFocusHighlightStyle()
Returns
Type | Description |
---|---|
System.String | The name of the focus highlight style. |
GetFullscreen()
The fullscreen state of a window. (Since EFL 1.22)
Declaration
public virtual bool GetFullscreen()
Returns
Type | Description |
---|---|
System.Boolean | If |
GetGroupObjectsCalculating()
Get if the canvas is currently calculating group objects. (Since EFL 1.22)
Declaration
public virtual bool GetGroupObjectsCalculating()
Returns
Type | Description |
---|---|
System.Boolean |
|
GetHintBase()
Base size for objects with sizing restrictions. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Efl.Ui.Win.HintBase + N x Efl.Ui.Win.HintStep is what is calculated for object sizing restrictions.
See also Efl.Ui.Win.HintStep. (Since EFL 1.22)
Declaration
public virtual Size2D GetHintBase()
Returns
Type | Description |
---|---|
Eina.Size2D | Base size (hint) in pixels. |
GetHintStep()
Step size for objects with sizing restrictions. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Set this to for an object to scale up by steps and not continuously.
Efl.Ui.Win.HintBase + N x Efl.Ui.Win.HintStep is what is calculated for object sizing restrictions. (Since EFL 1.22)
Declaration
public virtual Size2D GetHintStep()
Returns
Type | Description |
---|---|
Eina.Size2D | Step size (hint) in pixels. |
GetIconObject()
A window object's icon. This sets an image to be used as the icon for the given window, in the window manager decoration part. The exact pixel dimensions of the object (not object size) will be used and the image pixels will be used as-is when this function is called. If the image object has been updated, then call this function again to source the image pixels and place them in the window's icon. Note that only objects of type Efl.Canvas.Image (object still in beta stage) or Efl.Ui.Image are allowed. (Since EFL 1.22)
Declaration
public virtual Object GetIconObject()
Returns
Type | Description |
---|---|
Efl.Canvas.Object | The Evas image object to use for an icon. |
GetImageMaxSize(out Size2D)
The maximum image size the canvas can possibly handle.
This function returns the largest image or surface size that the canvas can handle in pixels, and if there is one, returns true
. It returns false
if no extra constraint on maximum image size exists.
The default limit is 65535x65535. (Since EFL 1.22)
Declaration
public virtual bool GetImageMaxSize(out Size2D max)
Parameters
Type | Name | Description |
---|---|---|
Eina.Size2D | max | The maximum image size (in pixels). |
Returns
Type | Description |
---|---|
System.Boolean |
|
GetIndicatorMode()
In some environments you may have an indicator that shows battery status, reception, time etc. This is the indicator. Sometimes you don't want this because you provide the same functionality inside your app, so this will request that the indicator is disabled in such circumstances. The default settings depends on the environment. For example, on phones, the default is to enable the indicator. The indicator is disabled on devices like televisions however. (Since EFL 1.22)
Declaration
public virtual WinIndicatorMode GetIndicatorMode()
Returns
Type | Description |
---|---|
Efl.Ui.WinIndicatorMode | The type, one of Efl.Ui.WinIndicatorMode. |
GetManagerFocus()
The element which is currently focused by this manager.
Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus
is a logical child (which cannot receive focus), the next regular object is selected instead. If there is no such object, focus does not change.
(Since EFL 1.22)
Declaration
public virtual IObject GetManagerFocus()
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IObject | Currently focused element. |
GetMaximized()
The maximized state of a window. (Since EFL 1.22)
Declaration
public virtual bool GetMaximized()
Returns
Type | Description |
---|---|
System.Boolean | If |
GetMinimized()
The minimized state of a window. (Since EFL 1.22)
Declaration
public virtual bool GetMinimized()
Returns
Type | Description |
---|---|
System.Boolean | If |
GetObjectsAtXy(Position2D, Boolean, Boolean)
Retrieve a list of objects at a given position in a canvas. This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped. (Since EFL 1.22)
Declaration
public virtual Iterator<IEntity> GetObjectsAtXy(Position2D pos, bool include_pass_events_objects, bool include_hidden_objects)
Parameters
Type | Name | Description |
---|---|---|
Eina.Position2D | pos | The pixel position. |
System.Boolean | include_pass_events_objects | Boolean flag to include or not objects which pass events in this calculation. |
System.Boolean | include_hidden_objects | Boolean flag to include or not hidden objects in this calculation. |
Returns
Type | Description |
---|---|
Eina.Iterator<Efl.Gfx.IEntity> | The list of objects that are over the given position in |
GetObjectsInRectangle(Rect, Boolean, Boolean)
Retrieve a list of objects overlapping a given rectangular region in a canvas. This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas overlapping with the given rectangular region. The user can exclude from the query objects which are hidden and/or which are set to pass events.
Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped. (Since EFL 1.22)
Declaration
public virtual Iterator<IEntity> GetObjectsInRectangle(Rect rect, bool include_pass_events_objects, bool include_hidden_objects)
Parameters
Type | Name | Description |
---|---|---|
Eina.Rect | rect | The rectangular region. |
System.Boolean | include_pass_events_objects | Boolean flag to include or not objects which pass events in this calculation. |
System.Boolean | include_hidden_objects | Boolean flag to include or not hidden objects in this calculation. |
Returns
Type | Description |
---|---|
Eina.Iterator<Efl.Gfx.IEntity> | Iterator to objects |
GetObjectTopAtXy(Position2D, Boolean, Boolean)
Retrieve the object stacked at the top of a given position in a canvas. This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas covering the given position. The user can exclude from the query objects which are hidden and/or which are set to pass events.
Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped. (Since EFL 1.22)
Declaration
public virtual IEntity GetObjectTopAtXy(Position2D pos, bool include_pass_events_objects, bool include_hidden_objects)
Parameters
Type | Name | Description |
---|---|---|
Eina.Position2D | pos | The pixel position. |
System.Boolean | include_pass_events_objects | Boolean flag to include or not objects which pass events in this calculation. |
System.Boolean | include_hidden_objects | Boolean flag to include or not hidden objects in this calculation. |
Returns
Type | Description |
---|---|
Efl.Gfx.IEntity | The canvas object that is over all other objects at the given position. |
GetObjectTopInRectangle(Rect, Boolean, Boolean)
Retrieve the canvas object stacked at the top of a given rectangular region in a canvas This function will traverse all the layers of the given canvas, from top to bottom, querying for objects with areas overlapping with the given rectangular region. The user can exclude from the query objects which are hidden and/or which are set to pass events.
Warning: This function will only evaluate top-level objects; child or "sub" objects will be skipped. (Since EFL 1.22)
Declaration
public virtual IEntity GetObjectTopInRectangle(Rect rect, bool include_pass_events_objects, bool include_hidden_objects)
Parameters
Type | Name | Description |
---|---|---|
Eina.Rect | rect | The rectangular region. |
System.Boolean | include_pass_events_objects | Boolean flag to include or not objects which pass events in this calculation. |
System.Boolean | include_hidden_objects | Boolean flag to include or not hidden objects in this calculation. |
Returns
Type | Description |
---|---|
Efl.Gfx.IEntity | The object that is over all other objects at the given rectangular region. |
GetRedirect()
Add another manager to serve the move requests.
If this value is set, all move requests are redirected to this manager object. Set it to null
once nothing should be redirected anymore.
(Since EFL 1.22)
Declaration
public virtual IManager GetRedirect()
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IManager | The new focus manager. |
GetRoot()
Root node for all logical sub-trees. This property can only be set once. (Since EFL 1.22)
Declaration
public virtual IObject GetRoot()
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IObject | Object to register as the root of this manager object. |
GetScreenDpi(out Int32, out Int32)
The pixel density in DPI (Dots Per Inch) for the screen that a window is on. (Since EFL 1.22)
Declaration
public virtual void GetScreenDpi(out int xdpi, out int ydpi)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | xdpi | Horizontal DPI. |
System.Int32 | ydpi | Vertical DPI. |
GetScreenRotation()
The rotation of the screen. Most engines only return multiples of 90. (Since EFL 1.22)
Declaration
public virtual int GetScreenRotation()
Returns
Type | Description |
---|---|
System.Int32 | Screen rotation in degrees. |
GetScreenScaleFactor()
Screen scaling factor. This is the factor by which window contents will be scaled on the screen.
Note that on some display systems this information is not available and a value of 1.0 will be returned. (Since EFL 1.22)
Declaration
public virtual float GetScreenScaleFactor()
Returns
Type | Description |
---|---|
System.Single | The screen scaling factor. |
GetScreenSizeInPixels()
Screen size (in pixels) for the screen. Note that on some display systems this information is not available and a value of 0x0 will be returned. (Since EFL 1.22)
Declaration
public virtual Size2D GetScreenSizeInPixels()
Returns
Type | Description |
---|---|
Eina.Size2D | The screen size in pixels. |
GetText()
The text string to be displayed by the given text object. Do not release (free) the returned value.
See also Efl.IText.GetText(). (Since EFL 1.22)
Declaration
public virtual string GetText()
Returns
Type | Description |
---|---|
System.String | Text string to display on it. |
GetViewportElements(Rect)
Elements that are at the border of the viewport Every element returned by this is located inside the viewport rectangle, but has a right, left, down or up neighbor outside the viewport. (Since EFL 1.22)
Declaration
public virtual Iterator<IObject> GetViewportElements(Rect viewport)
Parameters
Type | Name | Description |
---|---|---|
Eina.Rect | viewport | The rectangle defining the viewport. |
Returns
Type | Description |
---|---|
Eina.Iterator<Efl.Ui.Focus.IObject> | An iterator over the viewport border objects. |
GetWinName()
The window name. The meaning of name depends on the underlying windowing system.
The window name is a construction property that can only be set at creation time, before finalize. In C this means inside efl_add
().
Note: Once set, it cannot be modified afterwards. (Since EFL 1.22)
Declaration
public virtual string GetWinName()
Returns
Type | Description |
---|---|
System.String | Window name |
LogicalEnd()
Returns the last logical object. The returned object is the last object that would be returned if you start at the root and move in the "next" direction. (Since EFL 1.22)
Declaration
public virtual ManagerLogicalEndDetail LogicalEnd()
Returns
Type | Description |
---|---|
Efl.Ui.Focus.ManagerLogicalEndDetail | Last object. |
Move(Direction)
Moves the focus in the given direction to the next regular widget. This call flushes all changes. This means all changes since last flush are computed. (Since EFL 1.22)
Declaration
public virtual IObject Move(Direction direction)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.Direction | direction | The direction to move to. |
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IObject | The element which is now focused. |
MoveRequest(Direction, IObject, Boolean)
Returns the object in the direction
from child
.
(Since EFL 1.22)
Declaration
public virtual IObject MoveRequest(Direction direction, IObject child, bool logical)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.Direction | direction | Direction to move focus. |
Efl.Ui.Focus.IObject | child | The child to move from. Pass |
System.Boolean | logical | Wether you want to have a logical node as result or a regular. Note that in a Efl.Ui.Focus.IManager.Move(Efl.Ui.Focus.Direction) call logical nodes will not get focus. |
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IObject | Object that would receive focus if moved in the given direction. |
MoveResizeStart(WinMoveResizeMode)
Start moving or resizing the window. The user can request the display server to start moving or resizing the window by combining modes from Efl.Ui.WinMoveResizeMode. This API can only be called if none of the following conditions is true:
- Called in the absence of a pointer down event, 2. Called more than once before a pointer up event, 3. Called when the window is already being resized or moved, 4. Called with an unsupported combination of modes.
Right usage: 1. Pointer (mouse or touch) down event, 2. Efl.Ui.Win.MoveResizeStart(Efl.Ui.WinMoveResizeMode) called only once with a supported mode, 3. Pointer (mouse or touch) up event.
If a pointer up event occurs after calling the function, it automatically ends the window move and resize operation.
Currently, only the following 9 combinations are allowed, and possibly more combinations may be added in the future: 1. Efl.Ui.WinMoveResizeMode.Move 2. Efl.Ui.WinMoveResizeMode.Top 3. Efl.Ui.WinMoveResizeMode.Bottom 4. Efl.Ui.WinMoveResizeMode.Left 5. Efl.Ui.WinMoveResizeMode.Right 6. Efl.Ui.WinMoveResizeMode.Top | Efl.Ui.WinMoveResizeMode.Left 7. Efl.Ui.WinMoveResizeMode.Top | Efl.Ui.WinMoveResizeMode.Right 8. Efl.Ui.WinMoveResizeMode.Bottom | Efl.Ui.WinMoveResizeMode.Left 9. Efl.Ui.WinMoveResizeMode.Bottom | Efl.Ui.WinMoveResizeMode.Right
In particular move and resize cannot happen simultaneously.
Note: the result of this API can only guarantee that the request has been forwarded to the server, but there is no guarantee that the request can be processed by the display server. (Since EFL 1.22)
Declaration
public virtual bool MoveResizeStart(WinMoveResizeMode mode)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.WinMoveResizeMode | mode | The requested move or resize mode. |
Returns
Type | Description |
---|---|
System.Boolean |
|
OnContentChangedEvent(ContentContentChangedEventArgs)
Method to raise event ContentChangedEvent.
Declaration
public void OnContentChangedEvent(ContentContentChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.ContentContentChangedEventArgs | e | Event to raise. |
OnCoordsDirtyEvent(EventArgs)
Method to raise event CoordsDirtyEvent.
Declaration
public void OnCoordsDirtyEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnDeleteRequestEvent(EventArgs)
Method to raise event DeleteRequestEvent.
Declaration
public void OnDeleteRequestEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnDirtyLogicFreezeChangedEvent(ManagerDirtyLogicFreezeChangedEventArgs)
Method to raise event DirtyLogicFreezeChangedEvent.
Declaration
public void OnDirtyLogicFreezeChangedEvent(ManagerDirtyLogicFreezeChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.ManagerDirtyLogicFreezeChangedEventArgs | e | Event to raise. |
OnFlushPreEvent(EventArgs)
Method to raise event FlushPreEvent.
Declaration
public void OnFlushPreEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnFullscreenChangedEvent(WinFullscreenChangedEventArgs)
Method to raise event FullscreenChangedEvent.
Declaration
public void OnFullscreenChangedEvent(WinFullscreenChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.WinFullscreenChangedEventArgs | e | Event to raise. |
OnManagerFocusChangedEvent(ManagerManagerFocusChangedEventArgs)
Method to raise event ManagerFocusChangedEvent.
Declaration
public void OnManagerFocusChangedEvent(ManagerManagerFocusChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.ManagerManagerFocusChangedEventArgs | e | Event to raise. |
OnMaximizedChangedEvent(WinMaximizedChangedEventArgs)
Method to raise event MaximizedChangedEvent.
Declaration
public void OnMaximizedChangedEvent(WinMaximizedChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.WinMaximizedChangedEventArgs | e | Event to raise. |
OnMinimizedEvent(EventArgs)
Method to raise event MinimizedEvent.
Declaration
public void OnMinimizedEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnNormalEvent(EventArgs)
Method to raise event NormalEvent.
Declaration
public void OnNormalEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnObjectFocusInEvent(SceneObjectFocusInEventArgs)
Method to raise event ObjectFocusInEvent.
Declaration
public void OnObjectFocusInEvent(SceneObjectFocusInEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Canvas.SceneObjectFocusInEventArgs | e | Event to raise. |
OnObjectFocusOutEvent(SceneObjectFocusOutEventArgs)
Method to raise event ObjectFocusOutEvent.
Declaration
public void OnObjectFocusOutEvent(SceneObjectFocusOutEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Canvas.SceneObjectFocusOutEventArgs | e | Event to raise. |
OnPauseEvent(EventArgs)
Method to raise event PauseEvent.
Declaration
public void OnPauseEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnRedirectChangedEvent(ManagerRedirectChangedEventArgs)
Method to raise event RedirectChangedEvent.
Declaration
public void OnRedirectChangedEvent(ManagerRedirectChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.ManagerRedirectChangedEventArgs | e | Event to raise. |
OnRenderPreEvent(EventArgs)
Method to raise event RenderPreEvent.
Declaration
public void OnRenderPreEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnResumeEvent(EventArgs)
Method to raise event ResumeEvent.
Declaration
public void OnResumeEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnSceneFocusInEvent(EventArgs)
Method to raise event SceneFocusInEvent.
Declaration
public void OnSceneFocusInEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnSceneFocusOutEvent(EventArgs)
Method to raise event SceneFocusOutEvent.
Declaration
public void OnSceneFocusOutEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnThemeChangedEvent(EventArgs)
Method to raise event ThemeChangedEvent.
Declaration
public void OnThemeChangedEvent(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | Event to raise. |
OnWinRotationChangedEvent(WinWinRotationChangedEventArgs)
Method to raise event WinRotationChangedEvent.
Declaration
public void OnWinRotationChangedEvent(WinWinRotationChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.WinWinRotationChangedEventArgs | e | Event to raise. |
PopHistoryStack()
Removes the uppermost history element, and focuses the previous one. If there is an element that was focused before, it will be used. Otherwise, the best fitting element from the registered elements will be focused. (Since EFL 1.22)
Declaration
public virtual void PopHistoryStack()
RequestSubchild(IObject)
Returns the widget in the direction next.
The returned widget is a child of root
. It's guaranteed that child will not be prepared again, so you can call this function inside a Efl.Ui.Focus.IObject.SetupOrder() call.
(Since EFL 1.22)
Declaration
public virtual IObject RequestSubchild(IObject root)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.IObject | root | Parent for returned child. |
Returns
Type | Description |
---|---|
Efl.Ui.Focus.IObject | Child of passed parameter. |
ResetHistory()
Resets the history stack of this manager object. This means the uppermost element will be unfocused, and all other elements will be removed from the remembered list. You should focus another element immediately after calling this, in order to always have a focused object. (Since EFL 1.22)
Declaration
public virtual void ResetHistory()
SetAlpha(Boolean)
The alpha channel state of a window.
If alpha
is true, the alpha channel of the canvas will be enabled possibly making parts of the window completely or partially transparent. This is also subject to the underlying system supporting it, for example a system using a compositing manager.
Note: Alpha window can be enabled automatically by window theme style's property. If "alpha" data.item is "1" or "true" in window style(eg. elm/win/base/default), the window is switched to alpha automatically without the explicit api call. (Since EFL 1.22)
Declaration
public virtual void SetAlpha(bool alpha)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | alpha |
|
SetContent(IEntity)
Sub-object currently set as this object's single content.
If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content
is set the object will become empty (it will have no sub-object).
(Since EFL 1.22)
Declaration
public virtual bool SetContent(IEntity content)
Parameters
Type | Name | Description |
---|---|---|
Efl.Gfx.IEntity | content | The sub-object. |
Returns
Type | Description |
---|---|
System.Boolean |
|
SetExitOnAllWindowsClosed(Value)
Enable quitting the main loop when all windows are closed. When set, the main loop will quit with the passed exit code once all windows have been closed.
The Eina.Value (object still in beta stage) passed should be EMPTY
to unset this state or an int value to be used as the exit code.
Note this is different from Efl.Ui.Win.ExitOnClose which exits when a given window is closed. (Since EFL 1.22)
Declaration
public static void SetExitOnAllWindowsClosed(Value exit_code)
Parameters
Type | Name | Description |
---|---|---|
Eina.Value | exit_code | The exit code to use when exiting. |
SetExitOnClose(Value)
Enable quitting the main loop when this window is closed. When set, the window's loop object will exit using the passed exit code if the window is closed.
The Eina.Value (object still in beta stage) passed should be EMPTY
to unset this state or an int value to be used as the exit code.
Note this is different from Efl.Ui.Win.ExitOnAllWindowsClosed which exits when ALL windows are closed. (Since EFL 1.22)
Declaration
public virtual void SetExitOnClose(Value exit_code)
Parameters
Type | Name | Description |
---|---|---|
Eina.Value | exit_code | The exit code to use when exiting |
SetFocusHighlightAnimate(Boolean)
Set the animate status for the focus highlight for this window. This function will enable or disable the animation of focus highlight. (Since EFL 1.22)
Declaration
public virtual void SetFocusHighlightAnimate(bool animate)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | animate | The enabled value for the highlight animation. |
SetFocusHighlightEnabled(Boolean)
Set the enabled status for the focus highlight in a window. This function will enable or disable the focus highlight, regardless of the global setting for it. (Since EFL 1.22)
Declaration
public virtual void SetFocusHighlightEnabled(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | The enabled value for the highlight. |
SetFocusHighlightStyle(String)
Control the widget focus highlight style.
If style
is null
, the default will be used.
See also Efl.Ui.Win.FocusHighlightEnabled. See also Efl.Ui.Win.FocusHighlightAnimate. (Since EFL 1.22)
Declaration
public virtual bool SetFocusHighlightStyle(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style | The name of the focus highlight style. |
Returns
Type | Description |
---|---|
System.Boolean |
|
SetFullscreen(Boolean)
The fullscreen state of a window. (Since EFL 1.22)
Declaration
public virtual void SetFullscreen(bool fullscreen)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fullscreen | If |
SetHintBase(Size2D)
Base size for objects with sizing restrictions. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Efl.Ui.Win.HintBase + N x Efl.Ui.Win.HintStep is what is calculated for object sizing restrictions.
See also Efl.Ui.Win.HintStep. (Since EFL 1.22)
Declaration
public virtual void SetHintBase(Size2D sz)
Parameters
Type | Name | Description |
---|---|---|
Eina.Size2D | sz | Base size (hint) in pixels. |
SetHintStep(Size2D)
Step size for objects with sizing restrictions. This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Set this to for an object to scale up by steps and not continuously.
Efl.Ui.Win.HintBase + N x Efl.Ui.Win.HintStep is what is calculated for object sizing restrictions. (Since EFL 1.22)
Declaration
public virtual void SetHintStep(Size2D sz)
Parameters
Type | Name | Description |
---|---|---|
Eina.Size2D | sz | Step size (hint) in pixels. |
SetIconObject(Object)
A window object's icon. This sets an image to be used as the icon for the given window, in the window manager decoration part. The exact pixel dimensions of the object (not object size) will be used and the image pixels will be used as-is when this function is called. If the image object has been updated, then call this function again to source the image pixels and place them in the window's icon. Note that only objects of type Efl.Canvas.Image (object still in beta stage) or Efl.Ui.Image are allowed. (Since EFL 1.22)
Declaration
public virtual void SetIconObject(Object icon)
Parameters
Type | Name | Description |
---|---|---|
Efl.Canvas.Object | icon | The image object to use for an icon. |
SetIndicatorMode(WinIndicatorMode)
In some environments you may have an indicator that shows battery status, reception, time etc. This is the indicator. Sometimes you don't want this because you provide the same functionality inside your app, so this will request that the indicator is disabled in such circumstances. The default settings depends on the environment. For example, on phones, the default is to enable the indicator. The indicator is disabled on devices like televisions however. (Since EFL 1.22)
Declaration
public virtual void SetIndicatorMode(WinIndicatorMode type)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.WinIndicatorMode | type | The type, one of Efl.Ui.WinIndicatorMode. |
SetManagerFocus(IObject)
The element which is currently focused by this manager.
Use this property to retrieve the object currently being focused, or to set the focus to a new one. When focus
is a logical child (which cannot receive focus), the next regular object is selected instead. If there is no such object, focus does not change.
(Since EFL 1.22)
Declaration
public virtual void SetManagerFocus(IObject focus)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.IObject | focus | Currently focused element. |
SetMaximized(Boolean)
The maximized state of a window. (Since EFL 1.22)
Declaration
public virtual void SetMaximized(bool maximized)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | maximized | If |
SetMinimized(Boolean)
The minimized state of a window. (Since EFL 1.22)
Declaration
public virtual void SetMinimized(bool state)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | state | If |
SetRedirect(IManager)
Add another manager to serve the move requests.
If this value is set, all move requests are redirected to this manager object. Set it to null
once nothing should be redirected anymore.
(Since EFL 1.22)
Declaration
public virtual void SetRedirect(IManager redirect)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.IManager | redirect | The new focus manager. |
SetRoot(IObject)
Root node for all logical sub-trees. This property can only be set once. (Since EFL 1.22)
Declaration
public virtual bool SetRoot(IObject root)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.IObject | root | Object to register as the root of this manager object. |
Returns
Type | Description |
---|---|
System.Boolean |
|
SetText(String)
The text string to be displayed by the given text object. Do not release (free) the returned value.
See also Efl.IText.GetText(). (Since EFL 1.22)
Declaration
public virtual void SetText(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text string to display on it. |
SetupOnFirstTouch(Direction, IObject)
Called when this manager is set as redirect.
In case that this is called as a result of a move call, direction
and entry
will be set to the direction of the move call, and the entry
object will be set to the object that had this manager as redirect property.
(Since EFL 1.22)
Declaration
public virtual void SetupOnFirstTouch(Direction direction, IObject entry)
Parameters
Type | Name | Description |
---|---|---|
Efl.Ui.Focus.Direction | direction | The direction in which this should be setup. |
Efl.Ui.Focus.IObject | entry | The object that caused this manager to be redirect. |
SetWinName(String)
Name can only be set before finalize. (Since EFL 1.22)
Declaration
public virtual void SetWinName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Window name |
UnsetContent()
Remove the sub-object currently set as content of this object and return it. This object becomes empty. (Since EFL 1.22)
Declaration
public virtual IEntity UnsetContent()
Returns
Type | Description |
---|---|
Efl.Gfx.IEntity | Unswallowed object |
Events
ContentChangedEvent
Sent after the content is set or unset using the current content object. (Since EFL 1.22)
Declaration
public event EventHandler<ContentContentChangedEventArgs> ContentChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.ContentContentChangedEventArgs> |
CoordsDirtyEvent
Cached relationship calculation results have been invalidated. (Since EFL 1.22)
Declaration
public event EventHandler CoordsDirtyEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
DeleteRequestEvent
Called when the window receives a delete request (Since EFL 1.22)
Declaration
public event EventHandler DeleteRequestEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
DirtyLogicFreezeChangedEvent
Called when this focus manager is frozen or thawed, even_info being true
indicates that it is now frozen, false
indicates that it is thawed.
(Since EFL 1.22)
Declaration
public event EventHandler<ManagerDirtyLogicFreezeChangedEventArgs> DirtyLogicFreezeChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ManagerDirtyLogicFreezeChangedEventArgs> |
FlushPreEvent
After this event, the manager object will calculate relations in the graph. Can be used to add / remove children in a lazy fashion. (Since EFL 1.22)
Declaration
public event EventHandler FlushPreEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
FullscreenChangedEvent
Called when window is set to or from fullscreen (Since EFL 1.22)
Declaration
public event EventHandler<WinFullscreenChangedEventArgs> FullscreenChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.WinFullscreenChangedEventArgs> |
ManagerFocusChangedEvent
The manager_focus property has changed. The previously focused object is passed as an event argument. (Since EFL 1.22)
Declaration
public event EventHandler<ManagerManagerFocusChangedEventArgs> ManagerFocusChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ManagerManagerFocusChangedEventArgs> |
MaximizedChangedEvent
Called when window is set to or from maximized (Since EFL 1.22)
Declaration
public event EventHandler<WinMaximizedChangedEventArgs> MaximizedChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.WinMaximizedChangedEventArgs> |
MinimizedEvent
Called when window is minimized (Since EFL 1.22)
Declaration
public event EventHandler MinimizedEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
NormalEvent
Called when window is set to normal state (Since EFL 1.22)
Declaration
public event EventHandler NormalEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
ObjectFocusInEvent
Called when object got focus (Since EFL 1.22)
Declaration
public event EventHandler<SceneObjectFocusInEventArgs> ObjectFocusInEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Canvas.SceneObjectFocusInEventArgs> |
ObjectFocusOutEvent
Called when object lost focus (Since EFL 1.22)
Declaration
public event EventHandler<SceneObjectFocusOutEventArgs> ObjectFocusOutEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Canvas.SceneObjectFocusOutEventArgs> |
PauseEvent
Called when the window is not going be displayed for some time (Since EFL 1.22)
Declaration
public event EventHandler PauseEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
RedirectChangedEvent
Redirect object has changed, the old manager is passed as an event argument. (Since EFL 1.22)
Declaration
public event EventHandler<ManagerRedirectChangedEventArgs> RedirectChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.Focus.ManagerRedirectChangedEventArgs> |
RenderPreEvent
Called when pre render happens (Since EFL 1.22)
Declaration
public event EventHandler RenderPreEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
ResumeEvent
Called before a window is rendered after a pause event (Since EFL 1.22)
Declaration
public event EventHandler ResumeEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
SceneFocusInEvent
Called when scene got focus (Since EFL 1.22)
Declaration
public event EventHandler SceneFocusInEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
SceneFocusOutEvent
Called when scene lost focus (Since EFL 1.22)
Declaration
public event EventHandler SceneFocusOutEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
ThemeChangedEvent
Called when theme is changed (Since EFL 1.22)
Declaration
public event EventHandler ThemeChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler |
WinRotationChangedEvent
Called when window rotation is changed, sends current rotation in degrees (Since EFL 1.22)
Declaration
public event EventHandler<WinWinRotationChangedEventArgs> WinRotationChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.WinWinRotationChangedEventArgs> |