Description
Defines the types of window that can be created.
These are hints set on a window so that a running Window Manager knows how the window should be handled and/or what kind of decorations it should have.
Currently, only the X11 backed engines use them.
Fields
unknown - Default, unknown type.
basic - A normal window. Indicates a normal, top-level window. Almost every window will be created with this type.
dialog_basic - Used for simple dialog windows.
desktop - For special desktop windows, like a background window holding desktop icons.
dock - The window is used as a dock or panel. Usually would be kept on top of any other window by the Window Manager.
toolbar - The window is used to hold a floating toolbar or similar.
-
utility - A persistent utility window, like a toolbox or palette.
splash - Splash window for a starting up application.
dropdown_menu - The window is a dropdown menu, as when an entry in a menu bar is clicked. This hint exists for completeness' sake, as the EFL way of implementing a menu would not normally use a separate window for its contents.
-
tooltip - The window is a tooltip. A short piece of explanatory text that typically appear after the mouse cursor hovers over an object for a while. Not commonly used in the EFL.
notification - A notification window, like a warning about battery life or a new E-Mail received.
combo - A window holding the contents of a combo box. Not commonly used in the EFL.
dnd - Internal use.
inlined_image - Internal use.
socket_image - Internal use.
fake - Internal use.
naviframe_basic - Used for naviframe style replacement with a back button instead of a close button.
Signature
enum Efl.Ui.Win_Type {
unknown: +1,
basic,
dialog_basic,
desktop,
dock,
toolbar,
menu,
utility,
splash,
dropdown_menu,
popup_menu,
tooltip,
notification,
combo,
dnd,
inlined_image,
socket_image,
fake,
naviframe_basic: 17
}
C signature
typedef enum {
EFL_UI_WIN_TYPE_UNKNOWN = -1 /* +1 */,
EFL_UI_WIN_TYPE_BASIC,
EFL_UI_WIN_TYPE_DIALOG_BASIC,
EFL_UI_WIN_TYPE_DESKTOP,
EFL_UI_WIN_TYPE_DOCK,
EFL_UI_WIN_TYPE_TOOLBAR,
EFL_UI_WIN_TYPE_MENU,
EFL_UI_WIN_TYPE_UTILITY,
EFL_UI_WIN_TYPE_SPLASH,
EFL_UI_WIN_TYPE_DROPDOWN_MENU,
EFL_UI_WIN_TYPE_POPUP_MENU,
EFL_UI_WIN_TYPE_TOOLTIP,
EFL_UI_WIN_TYPE_NOTIFICATION,
EFL_UI_WIN_TYPE_COMBO,
EFL_UI_WIN_TYPE_DND,
EFL_UI_WIN_TYPE_INLINED_IMAGE,
EFL_UI_WIN_TYPE_SOCKET_IMAGE,
EFL_UI_WIN_TYPE_FAKE,
EFL_UI_WIN_TYPE_NAVIFRAME_BASIC = 17
} Efl_Ui_Win_Type;