Modules | Typedefs | Functions
Win

Modules

 Inwin
 

Typedefs

typedef struct _Elm_Win_Trap Elm_Win_Trap
 Trap can be set with elm_win_trap_set() and will intercept the calls to internal ecore_evas with the same name and parameters. More...
 

Functions

EOAPI void elm_obj_win_keyboard_win_set (Eina_Bool is_keyboard)
 Sets whether the window is a keyboard. More...
 
EOAPI Eina_Bool elm_obj_win_keyboard_win_get (void)
 Get whether the window is a keyboard. More...
 
EOAPI void elm_obj_win_autodel_set (Eina_Bool autodel)
 Set the window's autodel state. More...
 
EOAPI Eina_Bool elm_obj_win_autodel_get (void)
 Get the window's autodel state. More...
 
EOAPI void elm_obj_win_override_set (Eina_Bool override)
 Set the override state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_override_get (void)
 Get the override state of a window. More...
 
EOAPI void elm_obj_win_iconified_set (Eina_Bool iconified)
 Set the iconified state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_iconified_get (void)
 Get the iconified state of a window. More...
 
EOAPI void elm_obj_win_quickpanel_zone_set (int zone)
 Set which zone this quickpanel should appear in. More...
 
EOAPI int elm_obj_win_quickpanel_zone_get (void)
 Get which zone this quickpanel should appear in. More...
 
EOAPI void elm_obj_win_maximized_set (Eina_Bool maximized)
 Set the maximized state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_maximized_get (void)
 Get the maximized state of a window. More...
 
EOAPI void elm_obj_win_modal_set (Eina_Bool modal)
 Set the modal state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_modal_get (void)
 Get the modal state of a window. More...
 
EOAPI void elm_obj_win_icon_name_set (const char *icon_name)
 Set the icon name of the window. More...
 
EOAPI const char * elm_obj_win_icon_name_get (void)
 Get the icon name of the window. More...
 
EOAPI void elm_obj_win_withdrawn_set (Eina_Bool withdrawn)
 Set the withdrawn state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_withdrawn_get (void)
 Get the withdrawn state of a window. More...
 
EOAPI void elm_obj_win_role_set (const char *role)
 Set the role of the window. More...
 
EOAPI const char * elm_obj_win_role_get (void)
 Get the role of the window. More...
 
EOAPI void elm_obj_win_size_step_set (int w, int h)
 Set the window stepping used with sizing calculation. More...
 
EOAPI void elm_obj_win_size_step_get (int *w, int *h)
 Get the stepping of a window. More...
 
EOAPI void elm_obj_win_focus_highlight_style_set (const char *style)
 Set the style for the focus highlight on this window. More...
 
EOAPI const char * elm_obj_win_focus_highlight_style_get (void)
 Get the style set for the focus highlight object. More...
 
EOAPI void elm_obj_win_borderless_set (Eina_Bool borderless)
 Set the borderless state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_borderless_get (void)
 Get the borderless state of a window. More...
 
EOAPI void elm_obj_win_screen_constrain_set (Eina_Bool constrain)
 Constrain the maximum width and height of a window to the width and height of its screen. More...
 
EOAPI Eina_Bool elm_obj_win_screen_constrain_get (void)
 Get the constraints on the maximum width and height of a window relative to the width and height of its screen. More...
 
EOAPI void elm_obj_win_available_profiles_set (const char **profiles, unsigned int count)
 Set the array of available profiles to a window. More...
 
EOAPI Eina_Bool elm_obj_win_available_profiles_get (char ***profiles, unsigned int *count)
 Get the array of available profiles of a window. More...
 
EOAPI void elm_obj_win_focus_highlight_enabled_set (Eina_Bool enabled)
 Set the enabled status for the focus highlight in a window. More...
 
EOAPI Eina_Bool elm_obj_win_focus_highlight_enabled_get (void)
 Get the enabled value of the focus highlight for this window. More...
 
EOAPI void elm_obj_win_title_set (const char *title)
 Set the title of the window. More...
 
EOAPI const char * elm_obj_win_title_get (void)
 Get the title of the window. More...
 
EOAPI void elm_obj_win_alpha_set (Eina_Bool alpha)
 Set the alpha channel state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_alpha_get (void)
 Get the alpha channel state of a window. More...
 
EOAPI void elm_obj_win_urgent_set (Eina_Bool urgent)
 Set the urgent state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_urgent_get (void)
 Get the urgent state of a window. More...
 
EOAPI void elm_obj_win_rotation_set (int rotation)
 Set the rotation of the window. More...
 
EOAPI int elm_obj_win_rotation_get (void)
 Get the rotation of the window. More...
 
EOAPI void elm_obj_win_icon_object_set (Evas_Object *icon)
 Set a window object's icon. More...
 
EOAPI const Evas_Object * elm_obj_win_icon_object_get (void)
 Get the icon object used for the window. More...
 
EOAPI void elm_obj_win_quickpanel_priority_minor_set (int priority)
 Set the minor priority of a quickpanel window. More...
 
EOAPI int elm_obj_win_quickpanel_priority_minor_get (void)
 Get the minor priority of a quickpanel window. More...
 
EOAPI void elm_obj_win_sticky_set (Eina_Bool sticky)
 Set the sticky state of the window. More...
 
EOAPI Eina_Bool elm_obj_win_sticky_get (void)
 Get the sticky state of the window. More...
 
EOAPI void elm_obj_win_keyboard_mode_set (Elm_Win_Keyboard_Mode mode)
 Sets the keyboard mode of the window. More...
 
EOAPI Elm_Win_Keyboard_Mode elm_obj_win_keyboard_mode_get (void)
 Get the keyboard mode of the window. More...
 
EOAPI void elm_obj_win_focus_highlight_animate_set (Eina_Bool animate)
 Set the animate status for the focus highlight for this window. More...
 
EOAPI Eina_Bool elm_obj_win_focus_highlight_animate_get (void)
 Get the animate value of the focus highlight for this window. More...
 
EOAPI void elm_obj_win_aspect_set (double aspect)
 Set the aspect ratio of a window. More...
 
EOAPI double elm_obj_win_aspect_get (void)
 Get the aspect ratio of a window. More...
 
EOAPI void elm_obj_win_quickpanel_priority_major_set (int priority)
 Set the major priority of a quickpanel window. More...
 
EOAPI int elm_obj_win_quickpanel_priority_major_get (void)
 Get the major priority of a quickpanel window. More...
 
EOAPI void elm_obj_win_indicator_opacity_set (Elm_Win_Indicator_Opacity_Mode mode)
 Sets the indicator opacity mode of the window. More...
 
EOAPI Elm_Win_Indicator_Opacity_Mode elm_obj_win_indicator_opacity_get (void)
 Get the indicator opacity mode of the window. More...
 
EOAPI void elm_obj_win_demand_attention_set (Eina_Bool demand_attention)
 Set the demand_attention state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_demand_attention_get (void)
 Get the demand_attention state of a window. More...
 
EOAPI void elm_obj_win_layer_set (int layer)
 Set the layer of the window. More...
 
EOAPI int elm_obj_win_layer_get (void)
 Get the layer of the window. More...
 
EOAPI void elm_obj_win_profile_set (const char *profile)
 Set the profile of a window. More...
 
EOAPI const char * elm_obj_win_profile_get (void)
 Get the profile of a window. More...
 
EOAPI void elm_obj_win_shaped_set (Eina_Bool shaped)
 Set the shaped state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_shaped_get (void)
 Get the shaped state of a window. More...
 
EOAPI void elm_obj_win_fullscreen_set (Eina_Bool fullscreen)
 Set the fullscreen state of a window. More...
 
EOAPI Eina_Bool elm_obj_win_fullscreen_get (void)
 Get the fullscreen state of a window. More...
 
EOAPI void elm_obj_win_indicator_mode_set (Elm_Win_Indicator_Mode mode)
 Sets the indicator mode of the window. More...
 
EOAPI Elm_Win_Indicator_Mode elm_obj_win_indicator_mode_get (void)
 Get the indicator mode of the window. More...
 
EOAPI void elm_obj_win_conformant_set (Eina_Bool conformant)
 Set if this window is an illume conformant window. More...
 
EOAPI Eina_Bool elm_obj_win_conformant_get (void)
 Get if this window is an illume conformant window. More...
 
EOAPI void elm_obj_win_size_base_set (int w, int h)
 Set the base window size used with stepping calculation. More...
 
EOAPI void elm_obj_win_size_base_get (int *w, int *h)
 Get the base size of a window. More...
 
EOAPI void elm_obj_win_quickpanel_set (Eina_Bool quickpanel)
 Set a window to be an illume quickpanel window. More...
 
EOAPI Eina_Bool elm_obj_win_quickpanel_get (void)
 Get if this window is a quickpanel or not. More...
 
EOAPI void elm_obj_win_rotation_with_resize_set (int rotation)
 Rotates the window and resizes it. More...
 
EOAPI void elm_obj_win_prop_focus_skip_set (Eina_Bool skip)
 Set the window to be skipped by keyboard focus. More...
 
EOAPI void elm_obj_win_screen_position_get (int *x, int *y)
 Get the screen position of a window. More...
 
EOAPI Eina_Bool elm_obj_win_wm_rotation_supported_get (void)
 Query whether window manager supports window rotation or not. More...
 
EOAPI Ecore_X_Window elm_obj_win_xwindow_get (void)
 Get the Ecore_X_Window of an Evas_Object. More...
 
EOAPI Eina_Bool elm_obj_win_focus_get (void)
 Determine whether a window has focus. More...
 
EOAPI void elm_obj_win_screen_size_get (int *x, int *y, int *w, int *h)
 Get screen geometry details for the screen that a window is on. More...
 
EOAPI Evas_Object * elm_obj_win_main_menu_get (void)
 Get the Main Menu of a window. More...
 
EOAPI Ecore_Wl_Window * elm_obj_win_wl_window_get (void)
 Get the Ecore_Wl_Window of an Evas_Object. More...
 
EOAPI Ecore_Window elm_obj_win_window_id_get (void)
 Get the Ecore_Window of an Evas_Object. More...
 
EOAPI void elm_obj_win_screen_dpi_get (int *xdpi, int *ydpi)
 Get screen dpi for the screen that a window is on. More...
 
EOAPI Evas_Object * elm_obj_win_inlined_image_object_get (void)
 Get the inlined image object handle. More...
 
EOAPI void elm_obj_win_name_set (const char *name)
 The window name. More...
 
EOAPI void elm_obj_win_type_set (Elm_Win_Type type)
 The type of the window. More...
 
EOAPI Elm_Win_Type elm_obj_win_type_get (void)
 The type of the window. More...
 
EOAPI void elm_obj_win_noblank_set (Eina_Bool noblank)
 Set the noblank property of a window. More...
 
EOAPI Eina_Bool elm_obj_win_noblank_get (void)
 Get the noblank property of a window. More...
 
EOAPI void * elm_obj_win_trap_data_get (void)
 Get the trap data associated with a window. More...
 
EOAPI Eina_Bool elm_obj_win_socket_listen (const char *svcname, int svcnum, Eina_Bool svcsys)
 Create a socket to provide the service for Plug widget. More...
 
EOAPI void elm_obj_win_illume_command_send (Elm_Illume_Command command, void *params)
 Send a command to the windowing environment. More...
 
EOAPI void elm_obj_win_activate (void)
 Activate a window object. More...
 
EOAPI void elm_obj_win_resize_object_add (Evas_Object *subobj)
 Add subobj as a resize object of window obj. More...
 
EOAPI void elm_obj_win_raise (void)
 Raise a window object. More...
 
EOAPI void elm_obj_win_lower (void)
 Lower a window object. More...
 
EOAPI void elm_obj_win_resize_object_del (Evas_Object *subobj)
 Delete subobj as a resize object of window obj. More...
 
EOAPI void elm_obj_win_center (Eina_Bool h, Eina_Bool v)
 Center a window on its screen. More...
 
EOAPI Eina_Bool elm_obj_win_keygrab_set (const char *key, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, int proirity, Elm_Win_Keygrab_Mode grab_mode)
 Set keygrab value of the window. More...
 
EOAPI Eina_Bool elm_obj_win_keygrab_unset (const char *key, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers)
 Unset keygrab value of the window. More...
 
bool elm_win::socket_listen (std::string svcname_, int svcnum_, bool svcsys_) const
 Create a socket to provide the service for Plug widget. More...
 
void elm_win::illume_command_send (Elm_Illume_Command command_, void *params_) const
 Send a command to the windowing environment. More...
 
void elm_win::activate () const
 Activate a window object. More...
 
void elm_win::resize_object_add (evas::object subobj_) const
 Add subobj as a resize object of window obj. More...
 
void elm_win::raise () const
 Raise a window object. More...
 
void elm_win::lower () const
 Lower a window object. More...
 
void elm_win::resize_object_del (evas::object subobj_) const
 Delete subobj as a resize object of window obj. More...
 
void elm_win::center (bool h_, bool v_) const
 Center a window on its screen. More...
 
bool elm_win::keyboard_win_get () const
 Get whether the window is a keyboard. More...
 
void elm_win::keyboard_win_set (bool is_keyboard_) const
 Get whether the window is a keyboard. More...
 
bool elm_win::autodel_get () const
 Get the window's autodel state. More...
 
void elm_win::autodel_set (bool autodel_) const
 Get the window's autodel state. More...
 
bool elm_win::override_get () const
 Get the override state of a window. More...
 
void elm_win::override_set (bool override_) const
 Get the override state of a window. More...
 
bool elm_win::iconified_get () const
 Get the iconified state of a window. More...
 
void elm_win::iconified_set (bool iconified_) const
 Get the iconified state of a window. More...
 
int elm_win::quickpanel_zone_get () const
 Get which zone this quickpanel should appear in. More...
 
void elm_win::quickpanel_zone_set (int zone_) const
 Get which zone this quickpanel should appear in. More...
 
bool elm_win::maximized_get () const
 Get the maximized state of a window. More...
 
void elm_win::maximized_set (bool maximized_) const
 Get the maximized state of a window. More...
 
bool elm_win::modal_get () const
 Get the modal state of a window. More...
 
void elm_win::modal_set (bool modal_) const
 Get the modal state of a window. More...
 
std::string elm_win::icon_name_get () const
 Get the icon name of the window. More...
 
void elm_win::icon_name_set (std::string icon_name_) const
 Get the icon name of the window. More...
 
bool elm_win::withdrawn_get () const
 Get the withdrawn state of a window. More...
 
void elm_win::withdrawn_set (bool withdrawn_) const
 Get the withdrawn state of a window. More...
 
std::string elm_win::role_get () const
 Get the role of the window. More...
 
void elm_win::role_set (std::string role_) const
 Get the role of the window. More...
 
void elm_win::size_step_get (int *w_, int *h_) const
 Get the stepping of a window. More...
 
void elm_win::size_step_set (int w_, int h_) const
 Get the stepping of a window. More...
 
std::string elm_win::focus_highlight_style_get () const
 Get the style set for the focus highlight object. More...
 
void elm_win::focus_highlight_style_set (std::string style_) const
 Get the style set for the focus highlight object. More...
 
bool elm_win::borderless_get () const
 Get the borderless state of a window. More...
 
void elm_win::borderless_set (bool borderless_) const
 Get the borderless state of a window. More...
 
bool elm_win::screen_constrain_get () const
 Retrieve the constraints on the maximum width and height of a window relative to the width and height of its screen. More...
 
void elm_win::screen_constrain_set (bool constrain_) const
 Retrieve the constraints on the maximum width and height of a window relative to the width and height of its screen. More...
 
bool elm_win::available_profiles_get (char ***profiles_, unsigned int *count_) const
 Get the array of available profiles of a window. More...
 
void elm_win::available_profiles_set (const char **profiles_, unsigned int count_) const
 Get the array of available profiles of a window. More...
 
bool elm_win::focus_highlight_enabled_get () const
 Get the enabled value of the focus highlight for this window. More...
 
void elm_win::focus_highlight_enabled_set (bool enabled_) const
 Get the enabled value of the focus highlight for this window. More...
 
std::string elm_win::title_get () const
 Get the title of the window. More...
 
void elm_win::title_set (std::string title_) const
 Get the title of the window. More...
 
bool elm_win::alpha_get () const
 Get the alpha channel state of a window. More...
 
void elm_win::alpha_set (bool alpha_) const
 Get the alpha channel state of a window. More...
 
bool elm_win::urgent_get () const
 Get the urgent state of a window. More...
 
void elm_win::urgent_set (bool urgent_) const
 Get the urgent state of a window. More...
 
int elm_win::rotation_get () const
 Get the rotation of the window. More...
 
void elm_win::rotation_set (int rotation_) const
 Get the rotation of the window. More...
 
const evas::object elm_win::icon_object_get () const
 Get the icon object used for the window. More...
 
void elm_win::icon_object_set (evas::object icon_) const
 Get the icon object used for the window. More...
 
int elm_win::quickpanel_priority_minor_get () const
 Get the minor priority of a quickpanel window. More...
 
void elm_win::quickpanel_priority_minor_set (int priority_) const
 Get the minor priority of a quickpanel window. More...
 
bool elm_win::sticky_get () const
 Get the sticky state of the window. More...
 
void elm_win::sticky_set (bool sticky_) const
 Get the sticky state of the window. More...
 
Elm_Win_Keyboard_Mode elm_win::keyboard_mode_get () const
 Get the keyboard mode of the window. More...
 
void elm_win::keyboard_mode_set (Elm_Win_Keyboard_Mode mode_) const
 Get the keyboard mode of the window. More...
 
bool elm_win::focus_highlight_animate_get () const
 Get the animate value of the focus highlight for this window. More...
 
void elm_win::focus_highlight_animate_set (bool animate_) const
 Get the animate value of the focus highlight for this window. More...
 
double elm_win::aspect_get () const
 Get the aspect ratio of a window. More...
 
void elm_win::aspect_set (double aspect_) const
 Get the aspect ratio of a window. More...
 
int elm_win::quickpanel_priority_major_get () const
 Get the major priority of a quickpanel window. More...
 
void elm_win::quickpanel_priority_major_set (int priority_) const
 Get the major priority of a quickpanel window. More...
 
Elm_Win_Indicator_Opacity_Mode elm_win::indicator_opacity_get () const
 Get the indicator opacity mode of the window. More...
 
void elm_win::indicator_opacity_set (Elm_Win_Indicator_Opacity_Mode mode_) const
 Get the indicator opacity mode of the window. More...
 
bool elm_win::demand_attention_get () const
 Get the demand_attention state of a window. More...
 
void elm_win::demand_attention_set (bool demand_attention_) const
 Get the demand_attention state of a window. More...
 
int elm_win::layer_get () const
 Get the layer of the window. More...
 
void elm_win::layer_set (int layer_) const
 Get the layer of the window. More...
 
std::string elm_win::profile_get () const
 Get the profile of a window. More...
 
void elm_win::profile_set (std::string profile_) const
 Get the profile of a window. More...
 
bool elm_win::shaped_get () const
 Get the shaped state of a window. More...
 
void elm_win::shaped_set (bool shaped_) const
 Get the shaped state of a window. More...
 
bool elm_win::fullscreen_get () const
 Get the fullscreen state of a window. More...
 
void elm_win::fullscreen_set (bool fullscreen_) const
 Get the fullscreen state of a window. More...
 
Elm_Win_Indicator_Mode elm_win::indicator_mode_get () const
 Get the indicator mode of the window. More...
 
void elm_win::indicator_mode_set (Elm_Win_Indicator_Mode mode_) const
 Get the indicator mode of the window. More...
 
bool elm_win::conformant_get () const
 Get if this window is an illume conformant window. More...
 
void elm_win::conformant_set (bool conformant_) const
 Get if this window is an illume conformant window. More...
 
void elm_win::size_base_get (int *w_, int *h_) const
 Get the base size of a window. More...
 
void elm_win::size_base_set (int w_, int h_) const
 Get the base size of a window. More...
 
bool elm_win::quickpanel_get () const
 Get if this window is a quickpanel or not. More...
 
void elm_win::quickpanel_set (bool quickpanel_) const
 Get if this window is a quickpanel or not. More...
 
void elm_win::screen_position_get (int *x_, int *y_) const
 Get the screen position of a window. More...
 
bool elm_win::wm_rotation_supported_get () const
 Query whether window manager supports window rotation or not. More...
 
Ecore_X_Window elm_win::xwindow_get () const
 Get the Ecore_X_Window of an Evas_Object. More...
 
bool elm_win::focus_get () const
 Determine whether a window has focus. More...
 
void elm_win::screen_size_get (int *x_, int *y_, int *w_, int *h_) const
 Get screen geometry details for the screen that a window is on. More...
 
evas::object elm_win::main_menu_get () const
 Get the Main Menu of a window. More...
 
Ecore_Wl_Window * elm_win::wl_window_get () const
 Get the Ecore_Wl_Window of an Evas_Object. More...
 
Ecore_Window elm_win::window_id_get () const
 Get the Ecore_Window of an Evas_Object. More...
 
void elm_win::screen_dpi_get (int *xdpi_, int *ydpi_) const
 Get screen dpi for the screen that a window is on. More...
 
evas::object elm_win::inlined_image_object_get () const
 Get the inlined image object handle. More...
 
Elm_Win_Type elm_win::type_get () const
 Get the type of a window. More...
 
bool elm_win::noblank_get () const
 Get the noblank property of a window. More...
 
void elm_win::noblank_set (bool noblank_) const
 Get the noblank property of a window. More...
 
void elm_win_keyboard_win_set (Elm_Win *obj, Eina_Bool is_keyboard)
 Sets whether the window is a keyboard. More...
 
Eina_Bool elm_win_keyboard_win_get (const Elm_Win *obj)
 Get whether the window is a keyboard. More...
 
void elm_win_autodel_set (Elm_Win *obj, Eina_Bool autodel)
 Set the window's autodel state. More...
 
Eina_Bool elm_win_autodel_get (const Elm_Win *obj)
 Get the window's autodel state. More...
 
void elm_win_override_set (Elm_Win *obj, Eina_Bool override)
 Set the override state of a window. More...
 
Eina_Bool elm_win_override_get (const Elm_Win *obj)
 Get the override state of a window. More...
 
void elm_win_iconified_set (Elm_Win *obj, Eina_Bool iconified)
 Set the iconified state of a window. More...
 
Eina_Bool elm_win_iconified_get (const Elm_Win *obj)
 Get the iconified state of a window. More...
 
void elm_win_quickpanel_zone_set (Elm_Win *obj, int zone)
 Set which zone this quickpanel should appear in. More...
 
int elm_win_quickpanel_zone_get (const Elm_Win *obj)
 Get which zone this quickpanel should appear in. More...
 
void elm_win_maximized_set (Elm_Win *obj, Eina_Bool maximized)
 Set the maximized state of a window. More...
 
Eina_Bool elm_win_maximized_get (const Elm_Win *obj)
 Get the maximized state of a window. More...
 
void elm_win_modal_set (Elm_Win *obj, Eina_Bool modal)
 Set the modal state of a window. More...
 
Eina_Bool elm_win_modal_get (const Elm_Win *obj)
 Get the modal state of a window. More...
 
void elm_win_icon_name_set (Elm_Win *obj, const char *icon_name)
 Set the icon name of the window. More...
 
const char * elm_win_icon_name_get (const Elm_Win *obj)
 Get the icon name of the window. More...
 
void elm_win_withdrawn_set (Elm_Win *obj, Eina_Bool withdrawn)
 Set the withdrawn state of a window. More...
 
Eina_Bool elm_win_withdrawn_get (const Elm_Win *obj)
 Get the withdrawn state of a window. More...
 
void elm_win_role_set (Elm_Win *obj, const char *role)
 Set the role of the window. More...
 
const char * elm_win_role_get (const Elm_Win *obj)
 Get the role of the window. More...
 
void elm_win_size_step_set (Elm_Win *obj, int w, int h)
 Set the window stepping used with sizing calculation. More...
 
void elm_win_size_step_get (const Elm_Win *obj, int *w, int *h)
 Get the stepping of a window. More...
 
void elm_win_focus_highlight_style_set (Elm_Win *obj, const char *style)
 Set the style for the focus highlight on this window. More...
 
const char * elm_win_focus_highlight_style_get (const Elm_Win *obj)
 Get the style set for the focus highlight object. More...
 
void elm_win_borderless_set (Elm_Win *obj, Eina_Bool borderless)
 Set the borderless state of a window. More...
 
Eina_Bool elm_win_borderless_get (const Elm_Win *obj)
 Get the borderless state of a window. More...
 
void elm_win_screen_constrain_set (Elm_Win *obj, Eina_Bool constrain)
 Constrain the maximum width and height of a window to the width and height of its screen. More...
 
Eina_Bool elm_win_screen_constrain_get (const Elm_Win *obj)
 Get the constraints on the maximum width and height of a window relative to the width and height of its screen. More...
 
void elm_win_available_profiles_set (Elm_Win *obj, const char **profiles, unsigned int count)
 Set the array of available profiles to a window. More...
 
Eina_Bool elm_win_available_profiles_get (const Elm_Win *obj, char ***profiles, unsigned int *count)
 Get the array of available profiles of a window. More...
 
void elm_win_focus_highlight_enabled_set (Elm_Win *obj, Eina_Bool enabled)
 Set the enabled status for the focus highlight in a window. More...
 
Eina_Bool elm_win_focus_highlight_enabled_get (const Elm_Win *obj)
 Get the enabled value of the focus highlight for this window. More...
 
void elm_win_title_set (Elm_Win *obj, const char *title)
 Set the title of the window. More...
 
const char * elm_win_title_get (const Elm_Win *obj)
 Get the title of the window. More...
 
void elm_win_alpha_set (Elm_Win *obj, Eina_Bool alpha)
 Set the alpha channel state of a window. More...
 
Eina_Bool elm_win_alpha_get (const Elm_Win *obj)
 Get the alpha channel state of a window. More...
 
void elm_win_urgent_set (Elm_Win *obj, Eina_Bool urgent)
 Set the urgent state of a window. More...
 
Eina_Bool elm_win_urgent_get (const Elm_Win *obj)
 Get the urgent state of a window. More...
 
void elm_win_rotation_set (Elm_Win *obj, int rotation)
 Set the rotation of the window. More...
 
int elm_win_rotation_get (const Elm_Win *obj)
 Get the rotation of the window. More...
 
void elm_win_icon_object_set (Elm_Win *obj, Evas_Object *icon)
 Set a window object's icon. More...
 
const Evas_Object * elm_win_icon_object_get (const Elm_Win *obj)
 Get the icon object used for the window. More...
 
void elm_win_quickpanel_priority_minor_set (Elm_Win *obj, int priority)
 Set the minor priority of a quickpanel window. More...
 
int elm_win_quickpanel_priority_minor_get (const Elm_Win *obj)
 Get the minor priority of a quickpanel window. More...
 
void elm_win_sticky_set (Elm_Win *obj, Eina_Bool sticky)
 Set the sticky state of the window. More...
 
Eina_Bool elm_win_sticky_get (const Elm_Win *obj)
 Get the sticky state of the window. More...
 
void elm_win_keyboard_mode_set (Elm_Win *obj, Elm_Win_Keyboard_Mode mode)
 Sets the keyboard mode of the window. More...
 
Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get (const Elm_Win *obj)
 Get the keyboard mode of the window. More...
 
void elm_win_focus_highlight_animate_set (Elm_Win *obj, Eina_Bool animate)
 Set the animate status for the focus highlight for this window. More...
 
Eina_Bool elm_win_focus_highlight_animate_get (const Elm_Win *obj)
 Get the animate value of the focus highlight for this window. More...
 
void elm_win_aspect_set (Elm_Win *obj, double aspect)
 Set the aspect ratio of a window. More...
 
double elm_win_aspect_get (const Elm_Win *obj)
 Get the aspect ratio of a window. More...
 
void elm_win_quickpanel_priority_major_set (Elm_Win *obj, int priority)
 Set the major priority of a quickpanel window. More...
 
int elm_win_quickpanel_priority_major_get (const Elm_Win *obj)
 Get the major priority of a quickpanel window. More...
 
void elm_win_indicator_opacity_set (Elm_Win *obj, Elm_Win_Indicator_Opacity_Mode mode)
 Sets the indicator opacity mode of the window. More...
 
Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get (const Elm_Win *obj)
 Get the indicator opacity mode of the window. More...
 
void elm_win_demand_attention_set (Elm_Win *obj, Eina_Bool demand_attention)
 Set the demand_attention state of a window. More...
 
Eina_Bool elm_win_demand_attention_get (const Elm_Win *obj)
 Get the demand_attention state of a window. More...
 
void elm_win_layer_set (Elm_Win *obj, int layer)
 Set the layer of the window. More...
 
int elm_win_layer_get (const Elm_Win *obj)
 Get the layer of the window. More...
 
void elm_win_profile_set (Elm_Win *obj, const char *profile)
 Set the profile of a window. More...
 
const char * elm_win_profile_get (const Elm_Win *obj)
 Get the profile of a window. More...
 
void elm_win_shaped_set (Elm_Win *obj, Eina_Bool shaped)
 Set the shaped state of a window. More...
 
Eina_Bool elm_win_shaped_get (const Elm_Win *obj)
 Get the shaped state of a window. More...
 
void elm_win_fullscreen_set (Elm_Win *obj, Eina_Bool fullscreen)
 Set the fullscreen state of a window. More...
 
Eina_Bool elm_win_fullscreen_get (const Elm_Win *obj)
 Get the fullscreen state of a window. More...
 
void elm_win_indicator_mode_set (Elm_Win *obj, Elm_Win_Indicator_Mode mode)
 Sets the indicator mode of the window. More...
 
Elm_Win_Indicator_Mode elm_win_indicator_mode_get (const Elm_Win *obj)
 Get the indicator mode of the window. More...
 
void elm_win_conformant_set (Elm_Win *obj, Eina_Bool conformant)
 Set if this window is an illume conformant window. More...
 
Eina_Bool elm_win_conformant_get (const Elm_Win *obj)
 Get if this window is an illume conformant window. More...
 
void elm_win_size_base_set (Elm_Win *obj, int w, int h)
 Set the base window size used with stepping calculation. More...
 
void elm_win_size_base_get (const Elm_Win *obj, int *w, int *h)
 Get the base size of a window. More...
 
void elm_win_quickpanel_set (Elm_Win *obj, Eina_Bool quickpanel)
 Set a window to be an illume quickpanel window. More...
 
Eina_Bool elm_win_quickpanel_get (const Elm_Win *obj)
 Get if this window is a quickpanel or not. More...
 
void elm_win_rotation_with_resize_set (Elm_Win *obj, int rotation)
 Rotates the window and resizes it. More...
 
void elm_win_prop_focus_skip_set (Elm_Win *obj, Eina_Bool skip)
 Set the window to be skipped by keyboard focus. More...
 
void elm_win_screen_position_get (const Elm_Win *obj, int *x, int *y)
 Get the screen position of a window. More...
 
Eina_Bool elm_win_wm_rotation_supported_get (const Elm_Win *obj)
 Query whether window manager supports window rotation or not. More...
 
Ecore_X_Window elm_win_xwindow_get (const Elm_Win *obj)
 Get the Ecore_X_Window of an Evas_Object. More...
 
Eina_Bool elm_win_focus_get (const Elm_Win *obj)
 Determine whether a window has focus. More...
 
void elm_win_screen_size_get (const Elm_Win *obj, int *x, int *y, int *w, int *h)
 Get screen geometry details for the screen that a window is on. More...
 
Evas_Object * elm_win_main_menu_get (const Elm_Win *obj)
 Get the Main Menu of a window. More...
 
void elm_win_screen_dpi_get (const Elm_Win *obj, int *xdpi, int *ydpi)
 Get screen dpi for the screen that a window is on. More...
 
Evas_Object * elm_win_inlined_image_object_get (const Elm_Win *obj)
 Get the inlined image object handle. More...
 
void elm_win_name_set (Elm_Win *obj, const char *name)
 The window name. More...
 
void elm_win_type_set (Elm_Win *obj, Elm_Win_Type type)
 The type of the window. More...
 
Elm_Win_Type elm_win_type_get (const Elm_Win *obj)
 The type of the window. More...
 
void elm_win_noblank_set (Elm_Win *obj, Eina_Bool noblank)
 Set the noblank property of a window. More...
 
Eina_Bool elm_win_noblank_get (const Elm_Win *obj)
 Get the noblank property of a window. More...
 
void * elm_win_trap_data_get (const Elm_Win *obj)
 Get the trap data associated with a window. More...
 
Eina_Bool elm_win_socket_listen (Elm_Win *obj, const char *svcname, int svcnum, Eina_Bool svcsys)
 Create a socket to provide the service for Plug widget. More...
 
void elm_win_illume_command_send (Elm_Win *obj, Elm_Illume_Command command, void *params)
 Send a command to the windowing environment. More...
 
void elm_win_activate (Elm_Win *obj)
 Activate a window object. More...
 
void elm_win_resize_object_add (Elm_Win *obj, Evas_Object *subobj)
 Add subobj as a resize object of window obj. More...
 
void elm_win_raise (Elm_Win *obj)
 Raise a window object. More...
 
void elm_win_lower (Elm_Win *obj)
 Lower a window object. More...
 
void elm_win_resize_object_del (Elm_Win *obj, Evas_Object *subobj)
 Delete subobj as a resize object of window obj. More...
 
void elm_win_center (Elm_Win *obj, Eina_Bool h, Eina_Bool v)
 Center a window on its screen. More...
 
Eina_Bool elm_win_keygrab_set (Elm_Win *obj, const char *key, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers, int proirity, Elm_Win_Keygrab_Mode grab_mode)
 Set keygrab value of the window. More...
 
Eina_Bool elm_win_keygrab_unset (Elm_Win *obj, const char *key, Evas_Modifier_Mask modifiers, Evas_Modifier_Mask not_modifiers)
 Unset keygrab value of the window. More...
 
Eina_Bool elm_win_trap_set (const Elm_Win_Trap *trap)
 Sets the trap to be used for internal Ecore_Evas management. More...
 
Evas_Object * elm_win_add (Evas_Object *parent, const char *name, Elm_Win_Type type)
 Adds a window object. More...
 
Evas_Object * elm_win_fake_add (Ecore_Evas *ee)
 Creates a fake window object using a pre-existing canvas. More...
 
Evas_Object * elm_win_util_standard_add (const char *name, const char *title)
 Adds a window object with standard setup. More...
 
Evas_Object * elm_win_util_dialog_add (Evas_Object *parent, const char *name, const char *title)
 Adds a window object with dialog setup. More...
 
void elm_win_floating_mode_set (Evas_Object *obj, Eina_Bool floating)
 Set the floating mode of a window. More...
 
Eina_Bool elm_win_floating_mode_get (const Evas_Object *obj)
 Get the floating mode of a window. More...
 
void elm_win_norender_push (Evas_Object *obj)
 This pushes (increments) the norender counter on the window. More...
 
void elm_win_norender_pop (Evas_Object *obj)
 This pops (decrements) the norender counter on the window. More...
 
int elm_win_norender_get (const Evas_Object *obj)
 The retruns how many times norender has been pushed on the window. More...
 
void elm_win_render (Evas_Object *obj)
 This manually asks evas to render the window now. More...
 
Ecore_Wl_Window * elm_win_wl_window_get (const Evas_Object *obj)
 Get the Ecore_Wl_Window of an Evas_Object. More...
 
Ecore_Window elm_win_window_id_get (const Evas_Object *obj)
 Get the Ecore_Window of an Evas_Object. More...
 

Detailed Description

win_inheritance_tree.png
preview-00.png

The window class of Elementary. Contains functions to manipulate windows. The Evas engine used to render the window contents is specified in the system or user elementary config files (whichever is found last), and can be overridden with the ELM_ENGINE environment variable for testing. Engines that may be supported (depending on Evas and Ecore-Evas compilation setup and modules actually installed at runtime) are (listed in order of best supported and most likely to be complete and work to lowest quality). Note that ELM_ENGINE is really only needed for special cases and debugging. you should normally use ELM_DISPLAY and ELM_ACCEL environment variables, or core elementary config. ELM_DISPLAY can be set to "x11" or "wl" to indicate the target display system (as on Linux systems you may have both display systems available, so this selects which to use). ELM_ACCEL may also be set to indicate if you want accelerations and which kind to use. see elm_config_accel_preference_set(0 for details on this environment variable values.

All engines use a simple string to select the engine to render, EXCEPT the "shot" engine. This actually encodes the output of the virtual screenshot and how long to delay in the engine string. The engine string is encoded in the following way:

"shot:[delay=XX][:][repeat=DDD][:][file=XX]"

Where options are separated by a ":" char if more than one option is given, with delay, if provided being the first option and file the last (order is important). The delay specifies how long to wait after the window is shown before doing the virtual "in memory" rendering and then save the output to the file specified by the file option (and then exit). If no delay is given, the default is 0.5 seconds. If no file is given the default output file is "out.png". Repeat option is for continuous capturing screenshots. Repeat range is from 1 to 999 and filename is fixed to "out001.png" Some examples of using the shot engine:

ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test ELM_ENGINE="shot:file=elm_test2.png" elementary_test ELM_ENGINE="shot:delay=2.0" elementary_test ELM_ENGINE="shot:" elementary_test

Signals that you can add callbacks for are:

Note that calling evas_object_show() after window contents creation is recommended. It will trigger evas_smart_objects_calculate() and some backend calls directly. For example, XMapWindow is called directly during evas_object_show() in X11 engine.

Examples:

Typedef Documentation

Trap can be set with elm_win_trap_set() and will intercept the calls to internal ecore_evas with the same name and parameters.

If there is a trap and it returns EINA_TRUE then the call will be allowed, otherwise it will be ignored.

Since
1.7

Function Documentation

void elm_win::activate ( ) const
inline

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 after it.

References elm_obj_win_activate().

bool elm_win::alpha_get ( ) const
inline

Get the alpha channel state of a window.

Returns
EINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise
Parameters
alphaEINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise

References elm_obj_win_alpha_get().

void elm_win::alpha_set ( bool  alpha_) const
inline

Get the alpha channel state of a window.

Returns
EINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise
Parameters
alphaEINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise

References elm_obj_win_alpha_set().

double elm_win::aspect_get ( ) const
inline

Get the aspect ratio of a window.

Returns
The aspect ratio set (0 by default)
Parameters
aspectIf 0, the window has no aspect limits, otherwise it is width divided by height

References elm_obj_win_aspect_get().

void elm_win::aspect_set ( double  aspect_) const
inline

Get the aspect ratio of a window.

Returns
The aspect ratio set (0 by default)
Parameters
aspectIf 0, the window has no aspect limits, otherwise it is width divided by height

References elm_obj_win_aspect_set().

bool elm_win::autodel_get ( ) const
inline

Get the window's autodel state.

Returns
If the window will automatically delete itself when closed
See also
elm_win_autodel_set()
Parameters
autodelIf true, the window will automatically delete itself when closed

References elm_obj_win_autodel_get().

void elm_win::autodel_set ( bool  autodel_) const
inline

Get the window's autodel state.

Returns
If the window will automatically delete itself when closed
See also
elm_win_autodel_set()
Parameters
autodelIf true, the window will automatically delete itself when closed

References elm_obj_win_autodel_set().

bool elm_win::available_profiles_get ( char ***  profiles_,
unsigned int *  count_ 
) const
inline

Get the array of available profiles of a window.

Returns
EINA_TRUE if available profiles exist, EINA_FALSE otherwise
Since
1.8
Parameters
profilesThe string array of available profiles
countThe number of members in profiles

References elm_obj_win_available_profiles_get().

void elm_win::available_profiles_set ( const char **  profiles_,
unsigned int  count_ 
) const
inline

Get the array of available profiles of a window.

Returns
EINA_TRUE if available profiles exist, EINA_FALSE otherwise
Since
1.8
Parameters
profilesThe string array of available profiles
countThe number of members in profiles

References elm_obj_win_available_profiles_set().

bool elm_win::borderless_get ( ) const
inline

Get the borderless state of a window.

Returns
If true, the window is borderless
Parameters
borderlessIf true, the window is borderless

References elm_obj_win_borderless_get().

void elm_win::borderless_set ( bool  borderless_) const
inline

Get the borderless state of a window.

Returns
If true, the window is borderless
Parameters
borderlessIf true, the window is borderless

References elm_obj_win_borderless_set().

void elm_win::center ( bool  h_,
bool  v_ 
) const
inline

Center a window on its screen.

This function centers window obj horizontally and/or vertically based on the values of h and v.

Parameters
hIf true, center horizontally. If false, do not change horizontal location.
vIf true, center vertically. If false, do not change vertical location.

References elm_obj_win_center().

bool elm_win::conformant_get ( ) const
inline

Get if this window is an illume conformant window.

Returns
A boolean if this window is illume conformant or not
Parameters
conformantThe conformant flag (1 = conformant, 0 = non-conformant)

References elm_obj_win_conformant_get().

void elm_win::conformant_set ( bool  conformant_) const
inline

Get if this window is an illume conformant window.

Returns
A boolean if this window is illume conformant or not
Parameters
conformantThe conformant flag (1 = conformant, 0 = non-conformant)

References elm_obj_win_conformant_set().

bool elm_win::demand_attention_get ( ) const
inline

Get the demand_attention state of a window.

Returns
If true, the window is demand_attention
Parameters
demand_attentionIf true, the window is demand_attention

References elm_obj_win_demand_attention_get().

void elm_win::demand_attention_set ( bool  demand_attention_) const
inline

Get the demand_attention state of a window.

Returns
If true, the window is demand_attention
Parameters
demand_attentionIf true, the window is demand_attention

References elm_obj_win_demand_attention_set().

EOAPI void elm_obj_win_activate ( void  )

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 after it.

Referenced by elm_win::activate(), and elm_win_activate().

EOAPI Eina_Bool elm_obj_win_alpha_get ( void  )

Get the alpha channel state of a window.

Returns
EINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise

Referenced by elm_win::alpha_get(), and elm_win_alpha_get().

EOAPI void elm_obj_win_alpha_set ( Eina_Bool  alpha)

Set the alpha channel state of a window.

If alpha is EINA_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, like for example, running under a compositing manager. If no compositing is available, enabling this option will instead fallback to using shaped windows, with elm_win_shaped_set().

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.
See also
elm_win_alpha_set()
Parameters
[in]alphaEINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise

Referenced by elm_win::alpha_set(), and elm_win_alpha_set().

EOAPI double elm_obj_win_aspect_get ( void  )

Get the aspect ratio of a window.

Returns
The aspect ratio set (0 by default)

Referenced by elm_win::aspect_get(), and elm_win_aspect_get().

EOAPI void elm_obj_win_aspect_set ( double  aspect)

Set the aspect ratio of a window.

Parameters
[in]aspectIf 0, the window has no aspect limits, otherwise it is width divided by height

Referenced by elm_win::aspect_set(), and elm_win_aspect_set().

EOAPI Eina_Bool elm_obj_win_autodel_get ( void  )

Get the window's autodel state.

Returns
If the window will automatically delete itself when closed
See also
elm_win_autodel_set()

Referenced by elm_win::autodel_get(), and elm_win_autodel_get().

EOAPI void elm_obj_win_autodel_set ( Eina_Bool  autodel)

Set the window's autodel state.

When closing the window in any way outside of the program control, like pressing the X button in the titlebar or using a command from the Window Manager, a "delete,request" signal is emitted to indicate that this event occurred and the developer can take any action, which may include, or not, destroying the window object.

When the autodel parameter is set, the window will be automatically destroyed when this event occurs, after the signal is emitted. If autodel is EINA_FALSE, then the window will not be destroyed and is up to the program to do so when it's required.

Parameters
[in]autodelIf true, the window will automatically delete itself when closed

Referenced by elm_win::autodel_set(), and elm_win_autodel_set().

EOAPI Eina_Bool elm_obj_win_available_profiles_get ( char ***  profiles,
unsigned int *  count 
)

Get the array of available profiles of a window.

Returns
EINA_TRUE if available profiles exist, EINA_FALSE otherwise
Since
1.8
Parameters
[out]profilesThe string array of available profiles
[out]countThe number of members in profiles

Referenced by elm_win::available_profiles_get(), and elm_win_available_profiles_get().

EOAPI void elm_obj_win_available_profiles_set ( const char **  profiles,
unsigned int  count 
)

Set the array of available profiles to a window.

Since
1.8
Parameters
[in]profilesThe string array of available profiles
[in]countThe number of members in profiles

Referenced by elm_win::available_profiles_set(), and elm_win_available_profiles_set().

EOAPI Eina_Bool elm_obj_win_borderless_get ( void  )

Get the borderless state of a window.

Returns
If true, the window is borderless

Referenced by elm_win::borderless_get(), and elm_win_borderless_get().

EOAPI void elm_obj_win_borderless_set ( Eina_Bool  borderless)

Set the borderless state of a window.

This function requests the Window Manager to not draw any decoration around the window.

Parameters
[in]borderlessIf true, the window is borderless

Referenced by elm_win::borderless_set(), and elm_win_borderless_set().

EOAPI void elm_obj_win_center ( Eina_Bool  h,
Eina_Bool  v 
)

Center a window on its screen.

This function centers window obj horizontally and/or vertically based on the values of h and v.

Parameters
[in]hIf true, center horizontally. If false, do not change horizontal location.
[in]vIf true, center vertically. If false, do not change vertical location.

Referenced by elm_win::center(), and elm_win_center().

EOAPI Eina_Bool elm_obj_win_conformant_get ( void  )

Get if this window is an illume conformant window.

Returns
A boolean if this window is illume conformant or not

Referenced by elm_win::conformant_get(), and elm_win_conformant_get().

EOAPI void elm_obj_win_conformant_set ( Eina_Bool  conformant)

Set if this window is an illume conformant window.

Parameters
[in]conformantThe conformant flag (1 = conformant, 0 = non-conformant)

Referenced by elm_win::conformant_set(), and elm_win_conformant_set().

EOAPI Eina_Bool elm_obj_win_demand_attention_get ( void  )

Get the demand_attention state of a window.

Returns
If true, the window is demand_attention

Referenced by elm_win::demand_attention_get(), and elm_win_demand_attention_get().

EOAPI void elm_obj_win_demand_attention_set ( Eina_Bool  demand_attention)

Set the demand_attention state of a window.

Parameters
[in]demand_attentionIf true, the window is demand_attention

Referenced by elm_win::demand_attention_set(), and elm_win_demand_attention_set().

EOAPI Eina_Bool elm_obj_win_focus_get ( void  )

Determine whether a window has focus.

Returns
EINA_TRUE if the window exists and has focus, else EINA_FALSE

Referenced by elm_win_focus_get(), and elm_win::focus_get().

EOAPI Eina_Bool elm_obj_win_focus_highlight_animate_get ( void  )

Get the animate value of the focus highlight for this window.

Returns
EINA_TRUE if animation is enabled, EINA_FALSE otherwise

Referenced by elm_win_focus_highlight_animate_get(), and elm_win::focus_highlight_animate_get().

EOAPI void elm_obj_win_focus_highlight_animate_set ( Eina_Bool  animate)

Set the animate status for the focus highlight for this window.

This function will enable or disable the animation of focus highlight only for the given window, regardless of the global setting for it

Parameters
[in]animateThe enabled value for the highlight animation

Referenced by elm_win_focus_highlight_animate_set(), and elm_win::focus_highlight_animate_set().

EOAPI Eina_Bool elm_obj_win_focus_highlight_enabled_get ( void  )

Get the enabled value of the focus highlight for this window.

Returns
EINA_TRUE if enabled, EINA_FALSE otherwise

Referenced by elm_win_focus_highlight_enabled_get(), and elm_win::focus_highlight_enabled_get().

EOAPI void elm_obj_win_focus_highlight_enabled_set ( Eina_Bool  enabled)

Set the enabled status for the focus highlight in a window.

This function will enable or disable the focus highlight only for the given window, regardless of the global setting for it

Parameters
[in]enabledThe enabled value for the highlight

Referenced by elm_win_focus_highlight_enabled_set(), and elm_win::focus_highlight_enabled_set().

EOAPI const char* elm_obj_win_focus_highlight_style_get ( void  )

Get the style set for the focus highlight object.

Get the style set for this windows highlight object, or NULL if none is set.

Returns
The style set or NULL if none was. Default is used in that case.

Referenced by elm_win_focus_highlight_style_get(), and elm_win::focus_highlight_style_get().

EOAPI void elm_obj_win_focus_highlight_style_set ( const char *  style)

Set the style for the focus highlight on this window.

Sets the style to use for theming the highlight of focused objects on the given window. If style is NULL, the default will be used.

Parameters
[in]styleThe style to set

Referenced by elm_win_focus_highlight_style_set(), and elm_win::focus_highlight_style_set().

EOAPI Eina_Bool elm_obj_win_fullscreen_get ( void  )

Get the fullscreen state of a window.

Returns
If true, the window is fullscreen

Referenced by elm_win_fullscreen_get(), and elm_win::fullscreen_get().

EOAPI void elm_obj_win_fullscreen_set ( Eina_Bool  fullscreen)

Set the fullscreen state of a window.

Parameters
[in]fullscreenIf true, the window is fullscreen

Referenced by elm_win_fullscreen_set(), and elm_win::fullscreen_set().

EOAPI const char* elm_obj_win_icon_name_get ( void  )

Get the icon name of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new icon name is set or if the window is destroyed.

Returns
The icon name

Referenced by elm_win_icon_name_get(), and elm_win::icon_name_get().

EOAPI void elm_obj_win_icon_name_set ( const char *  icon_name)

Set the icon name of the window.

Parameters
[in]icon_nameThe icon name to set

Referenced by elm_win_icon_name_set(), and elm_win::icon_name_set().

EOAPI const Evas_Object* elm_obj_win_icon_object_get ( void  )

Get the icon object used for the window.

The object returns is the one marked by elm_win_icon_object_set() as the object to use for the window icon.

Returns
The icon object set

Referenced by elm_win_icon_object_get(), and elm_win::icon_object_get().

EOAPI void elm_obj_win_icon_object_set ( Evas_Object *  icon)

Set 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 put them on the window's icon. Note that only Evas image objects are allowed, for

Example of usage:

1 icon = evas_object_image_add(evas_object_evas_get(elm_window));
2 evas_object_image_file_set(icon, "/path/to/the/icon", NULL);
3 elm_win_icon_object_set(elm_window, icon);
4 evas_object_show(icon);
Parameters
[in]iconThe Evas image object to use for an icon

Referenced by elm_win_icon_object_set(), and elm_win::icon_object_set().

EOAPI Eina_Bool elm_obj_win_iconified_get ( void  )

Get the iconified state of a window.

Returns
If true, the window is iconified

Referenced by elm_win_iconified_get(), and elm_win::iconified_get().

EOAPI void elm_obj_win_iconified_set ( Eina_Bool  iconified)

Set the iconified state of a window.

Parameters
[in]iconifiedIf true, the window is iconified

Referenced by elm_win_iconified_set(), and elm_win::iconified_set().

EOAPI void elm_obj_win_illume_command_send ( Elm_Illume_Command  command,
void *  params 
)

Send a command to the windowing environment.

This is intended to work in touchscreen or small screen device environments where there is a more simplistic window management policy in place. This uses the window object indicated to select which part of the environment to control (the part that this window lives in), and provides a command and an optional parameter structure (use NULL for this if not needed).

Parameters
[in]commandThe command to send
[in]paramsOptional parameters for the command

Referenced by elm_win_illume_command_send(), and elm_win::illume_command_send().

EOAPI Elm_Win_Indicator_Mode elm_obj_win_indicator_mode_get ( void  )

Get the indicator mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Mode

Referenced by elm_win_indicator_mode_get(), and elm_win::indicator_mode_get().

EOAPI void elm_obj_win_indicator_mode_set ( Elm_Win_Indicator_Mode  mode)

Sets the indicator mode of the window.

Parameters
[in]modeThe mode to set, one of #Elm_Win_Indicator_Mode

Referenced by elm_win_indicator_mode_set(), and elm_win::indicator_mode_set().

EOAPI Elm_Win_Indicator_Opacity_Mode elm_obj_win_indicator_opacity_get ( void  )

Get the indicator opacity mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Opacity_Mode

Referenced by elm_win_indicator_opacity_get(), and elm_win::indicator_opacity_get().

EOAPI void elm_obj_win_indicator_opacity_set ( Elm_Win_Indicator_Opacity_Mode  mode)

Sets the indicator opacity mode of the window.

Parameters
[in]modeThe mode to set, one of #Elm_Win_Indicator_Opacity_Mode

Referenced by elm_win_indicator_opacity_set(), and elm_win::indicator_opacity_set().

EOAPI Evas_Object* elm_obj_win_inlined_image_object_get ( void  )

Get the inlined image object handle.

When you create a window with elm_win_add() of type #ELM_WIN_INLINED_IMAGE, then the window is in fact an evas image object inlined in the parent canvas. You can get this object (be careful to not manipulate it as it is under control of elementary), and use it to do things like get pixel data, save the image to a file, etc.

Returns
The inlined image object, or NULL if none exists

Referenced by elm_win_inlined_image_object_get(), and elm_win::inlined_image_object_get().

EOAPI Elm_Win_Keyboard_Mode elm_obj_win_keyboard_mode_get ( void  )

Get the keyboard mode of the window.

Returns
The mode, one of #Elm_Win_Keyboard_Mode

Referenced by elm_win_keyboard_mode_get(), and elm_win::keyboard_mode_get().

EOAPI void elm_obj_win_keyboard_mode_set ( Elm_Win_Keyboard_Mode  mode)

Sets the keyboard mode of the window.

Parameters
[in]modeThe mode to set, one of #Elm_Win_Keyboard_Mode

Referenced by elm_win_keyboard_mode_set(), and elm_win::keyboard_mode_set().

EOAPI Eina_Bool elm_obj_win_keyboard_win_get ( void  )

Get whether the window is a keyboard.

Returns
If the window is a virtual keyboard

Referenced by elm_win_keyboard_win_get(), and elm_win::keyboard_win_get().

EOAPI void elm_obj_win_keyboard_win_set ( Eina_Bool  is_keyboard)

Sets whether the window is a keyboard.

Parameters
[in]is_keyboardIf true, the window is a virtual keyboard

Referenced by elm_win_keyboard_win_set(), and elm_win::keyboard_win_set().

EOAPI Eina_Bool elm_obj_win_keygrab_set ( const char *  key,
Evas_Modifier_Mask  modifiers,
Evas_Modifier_Mask  not_modifiers,
int  proirity,
Elm_Win_Keygrab_Mode  grab_mode 
)

Set keygrab value of the window.

This function grabs the key of window using grab_mode.

Parameters
[in]keyThis string is the keyname to grab.
[in]modifiersThis is for the keymask feature. Currently this feature is not supported.
[in]not_modifiersThis is for the keymask feature. Currently this feature is not supported.
[in]proirityThis is for the priority of keygrab. Currently this feature is not supported.
[in]grab_modeAccording to the grabmode, it can grab key differently

Referenced by elm_win_keygrab_set().

EOAPI Eina_Bool elm_obj_win_keygrab_unset ( const char *  key,
Evas_Modifier_Mask  modifiers,
Evas_Modifier_Mask  not_modifiers 
)

Unset keygrab value of the window.

This function unset keygrab value. Ungrab key of window.

Parameters
[in]keyThis string is the keyname to grab.
[in]modifiersThis is for the keymask feature. Currently this feature is not supported.
[in]not_modifiersThis is for the keymask feature. Currently this feature is not supported.

Referenced by elm_win_keygrab_unset().

EOAPI int elm_obj_win_layer_get ( void  )

Get the layer of the window.

Returns
The layer of the window
See also
elm_win_layer_set()

Referenced by elm_win_layer_get(), and elm_win::layer_get().

EOAPI void elm_obj_win_layer_set ( int  layer)

Set the layer of the window.

What this means exactly will depend on the underlying engine used.

In the case of X11 backed engines, the value in layer has the following meanings:

  • < 3: The window will be placed below all others.
  • > 5: The window will be placed above all others.
  • other: The window will be placed in the default layer.
Parameters
[in]layerThe layer of the window

Referenced by elm_win_layer_set(), and elm_win::layer_set().

EOAPI void elm_obj_win_lower ( void  )

Lower a window object.

Places the window pointed by obj at the bottom of the stack, so that no other window is covered by it.

If elm_win_override_set() is not set, the Window Manager may ignore this request.

Referenced by elm_win_lower(), and elm_win::lower().

EOAPI Evas_Object* elm_obj_win_main_menu_get ( void  )

Get the Main Menu of a window.

Returns
The Main Menu of the window (NULL if error).

Referenced by elm_win_main_menu_get(), and elm_win::main_menu_get().

EOAPI Eina_Bool elm_obj_win_maximized_get ( void  )

Get the maximized state of a window.

Returns
If true, the window is maximized

Referenced by elm_win_maximized_get(), and elm_win::maximized_get().

EOAPI void elm_obj_win_maximized_set ( Eina_Bool  maximized)

Set the maximized state of a window.

Parameters
[in]maximizedIf true, the window is maximized

Referenced by elm_win_maximized_set(), and elm_win::maximized_set().

EOAPI Eina_Bool elm_obj_win_modal_get ( void  )

Get the modal state of a window.

Returns
If true, the window is modal

Referenced by elm_win_modal_get(), and elm_win::modal_get().

EOAPI void elm_obj_win_modal_set ( Eina_Bool  modal)

Set the modal state of a window.

Parameters
[in]modalIf true, the window is modal

Referenced by elm_win_modal_set(), and elm_win::modal_set().

EOAPI void elm_obj_win_name_set ( const char *  name)

The window name.

The meaning of name depends on the underlying windowing system.

The window name is a constructing property that need to be set at creation within eo_add.

Example:

1 win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_name_set(ELM_WIN_BASIC));
Note
Once set, it can NOT be modified afterward.

Can only be used at creation time, within eo_add.

Parameters
[in]nameNo description supplied.

Referenced by elm_win_add(), elm_win_fake_add(), and elm_win_name_set().

EOAPI Eina_Bool elm_obj_win_noblank_get ( void  )

Get the noblank property of a window.

Returns
If true, the window has "noblank" set.
Since
1.11

Referenced by elm_win_noblank_get(), and elm_win::noblank_get().

EOAPI void elm_obj_win_noblank_set ( Eina_Bool  noblank)

Set the noblank property of a window.

The "noblank" property is a way to request the display on which the windowis shown does not blank, screensave or otherwise hide or obscure the window. It is intended for uses such as media playback on a television where a user may not want to be interrupted by an idle screen. The noblank property may have no effect if the window is iconified/minimized or hidden.

Since
1.11
Parameters
[in]noblankIf true, the window is set to noblank

Referenced by elm_win_noblank_set(), and elm_win::noblank_set().

EOAPI Eina_Bool elm_obj_win_override_get ( void  )

Get the override state of a window.

Returns
If true, the window is overridden
See also
elm_win_override_set()

Referenced by elm_win_override_get(), and elm_win::override_get().

EOAPI void elm_obj_win_override_set ( Eina_Bool  override)

Set the override state of a window.

A window with override set to EINA_TRUE will not be managed by the Window Manager. This means that no decorations of any kind will be shown for it, moving and resizing must be handled by the application, as well as the window visibility.

This should not be used for normal windows, and even for not so normal ones, it should only be used when there's a good reason and with a lot of care. Mishandling override windows may result situations that disrupt the normal workflow of the end user.

Parameters
[in]overrideIf true, the window is overridden

Referenced by elm_win_override_set(), and elm_win::override_set().

EOAPI const char* elm_obj_win_profile_get ( void  )

Get the profile of a window.

Returns
The string value of a window profile, or NULL if none exists
Since
1.8

Referenced by elm_win_profile_get(), and elm_win::profile_get().

EOAPI void elm_obj_win_profile_set ( const char *  profile)

Set the profile of a window.

Since
1.8
Parameters
[in]profileThe string value of a window profile

Referenced by elm_win_profile_set(), and elm_win::profile_set().

EOAPI void elm_obj_win_prop_focus_skip_set ( Eina_Bool  skip)

Set the window to be skipped by keyboard focus.

This sets the window to be skipped by normal keyboard input. This means a window manager will be asked to not focus this window as well as omit it from things like the taskbar, pager, "alt-tab" list etc. etc.

Call this and enable it on a window BEFORE you show it for the first time, otherwise it may have no effect.

Use this for windows that have only output information or might only be interacted with by the mouse or fingers, and never for typing input. Be careful that this may have side-effects like making the window non-accessible in some cases unless the window is specially handled. Use this with care.

Parameters
[in]skipThe skip flag state (EINA_TRUE if it is to be skipped)

Referenced by elm_win_prop_focus_skip_set().

EOAPI Eina_Bool elm_obj_win_quickpanel_get ( void  )

Get if this window is a quickpanel or not.

Returns
A boolean if this window is a quickpanel or not

Referenced by elm_win_quickpanel_get(), and elm_win::quickpanel_get().

EOAPI int elm_obj_win_quickpanel_priority_major_get ( void  )

Get the major priority of a quickpanel window.

Returns
The major priority of this quickpanel. If the object is not window object, return -1.

Referenced by elm_win_quickpanel_priority_major_get(), and elm_win::quickpanel_priority_major_get().

EOAPI void elm_obj_win_quickpanel_priority_major_set ( int  priority)

Set the major priority of a quickpanel window.

Parameters
[in]priorityThe major priority for this quickpanel

Referenced by elm_win_quickpanel_priority_major_set(), and elm_win::quickpanel_priority_major_set().

EOAPI int elm_obj_win_quickpanel_priority_minor_get ( void  )

Get the minor priority of a quickpanel window.

Returns
The minor priority of this quickpanel. If the object is not window object, return -1.

Referenced by elm_win_quickpanel_priority_minor_get(), and elm_win::quickpanel_priority_minor_get().

EOAPI void elm_obj_win_quickpanel_priority_minor_set ( int  priority)

Set the minor priority of a quickpanel window.

Parameters
[in]priorityThe minor priority for this quickpanel

Referenced by elm_win_quickpanel_priority_minor_set(), and elm_win::quickpanel_priority_minor_set().

EOAPI void elm_obj_win_quickpanel_set ( Eina_Bool  quickpanel)

Set a window to be an illume quickpanel window.

By default window objects are not quickpanel windows.

Parameters
[in]quickpanelThe quickpanel flag (1 = quickpanel, 0 = normal window)

Referenced by elm_win_quickpanel_set(), and elm_win::quickpanel_set().

EOAPI int elm_obj_win_quickpanel_zone_get ( void  )

Get which zone this quickpanel should appear in.

Returns
The requested zone for this quickpanel

Referenced by elm_win_quickpanel_zone_get(), and elm_win::quickpanel_zone_get().

EOAPI void elm_obj_win_quickpanel_zone_set ( int  zone)

Set which zone this quickpanel should appear in.

Parameters
[in]zoneThe requested zone for this quickpanel

Referenced by elm_win_quickpanel_zone_set(), and elm_win::quickpanel_zone_set().

EOAPI void elm_obj_win_raise ( void  )

Raise a window object.

Places the window pointed by obj at the top of the stack, so that it's not covered by any other window.

If elm_win_override_set() is not set, the Window Manager may ignore this request.

Referenced by elm_win_raise(), and elm_win::raise().

EOAPI void elm_obj_win_resize_object_add ( Evas_Object *  subobj)

Add subobj as a resize object of window obj.

Setting an object as a resize object of the window means that the subobj child's size and position will be controlled by the window directly. That is, the object will be resized to match the window size and should never be moved or resized manually by the developer.

In addition, resize objects of the window control what the minimum size of it will be, as well as whether it can or not be resized by the user.

For the end user to be able to resize a window by dragging the handles or borders provided by the Window Manager, or using any other similar mechanism, all of the resize objects in the window should have their evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.

Also notice that the window can get resized to the current size of the object if the EVAS_HINT_EXPAND is set after the call to elm_win_resize_object_add(). So if the object should get resized to the size of the window, set this hint before adding it as a resize object (this happens because the size of the window and the object are evaluated as soon as the object is added to the window).

Parameters
[in]subobjThe resize object to add

Referenced by elm_win_resize_object_add(), and elm_win::resize_object_add().

EOAPI void elm_obj_win_resize_object_del ( Evas_Object *  subobj)

Delete subobj as a resize object of window obj.

This function removes the object subobj from the resize objects of the window obj. It will not delete the object itself, which will be left unmanaged and should be deleted by the developer, manually handled or set as child of some other container.

Parameters
[in]subobjThe resize object to add

Referenced by elm_win_resize_object_del(), and elm_win::resize_object_del().

EOAPI const char* elm_obj_win_role_get ( void  )

Get the role of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new role is set or if the window is destroyed.

Returns
The role

Referenced by elm_win_role_get(), and elm_win::role_get().

EOAPI void elm_obj_win_role_set ( const char *  role)

Set the role of the window.

Parameters
[in]roleThe role to set

Referenced by elm_win_role_set(), and elm_win::role_set().

EOAPI int elm_obj_win_rotation_get ( void  )

Get the rotation of the window.

Returns
The rotation of the window in degrees (0-360)
See also
elm_win_rotation_set()
elm_win_rotation_with_resize_set()

Referenced by elm_win_rotation_get(), and elm_win::rotation_get().

EOAPI void elm_obj_win_rotation_set ( int  rotation)

Set the rotation of the window.

Most engines only work with multiples of 90.

This function is used to set the orientation of the window obj to match that of the screen. The window itself will be resized to adjust to the new geometry of its contents. If you want to keep the window size, see elm_win_rotation_with_resize_set().

Parameters
[in]rotationThe rotation of the window, in degrees (0-360), counter-clockwise.

Referenced by elm_win_rotation_set(), and elm_win::rotation_set().

EOAPI void elm_obj_win_rotation_with_resize_set ( int  rotation)

Rotates the window and resizes it.

Like elm_win_rotation_set(), but it also resizes the window's contents so that they fit inside the current window geometry.

Parameters
[in]rotationThe rotation of the window in degrees (0-360), counter-clockwise.

Referenced by elm_win_rotation_with_resize_set().

EOAPI Eina_Bool elm_obj_win_screen_constrain_get ( void  )

Get the constraints on the maximum width and height of a window relative to the width and height of its screen.

When this function returns true, obj will never resize larger than the screen.

Returns
EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction

Referenced by elm_win_screen_constrain_get(), and elm_win::screen_constrain_get().

EOAPI void elm_obj_win_screen_constrain_set ( Eina_Bool  constrain)

Constrain the maximum width and height of a window to the width and height of its screen.

When constrain is true, obj will never resize larger than the screen.

Parameters
[in]constrainEINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction

Referenced by elm_win_screen_constrain_set(), and elm_win::screen_constrain_set().

EOAPI void elm_obj_win_screen_dpi_get ( int *  xdpi,
int *  ydpi 
)

Get screen dpi for the screen that a window is on.

Since
1.7
Parameters
[out]xdpiPointer to value to store return horizontal dpi. May be NULL.
[out]ydpiPointer to value to store return vertical dpi. May be NULL.

Referenced by elm_win_screen_dpi_get(), and elm_win::screen_dpi_get().

EOAPI void elm_obj_win_screen_position_get ( int *  x,
int *  y 
)

Get the screen position of a window.

Parameters
[out]xThe int to store the x coordinate to
[out]yThe int to store the y coordinate to

Referenced by elm_win_screen_position_get(), and elm_win::screen_position_get().

EOAPI void elm_obj_win_screen_size_get ( int *  x,
int *  y,
int *  w,
int *  h 
)

Get screen geometry details for the screen that a window is on.

Parameters
[out]xwhere to return the horizontal offset value. May be NULL.
[out]ywhere to return the vertical offset value. May be NULL.
[out]wwhere to return the width value. May be NULL.
[out]hwhere to return the height value. May be NULL.

Referenced by elm_win_screen_size_get(), and elm_win::screen_size_get().

EOAPI Eina_Bool elm_obj_win_shaped_get ( void  )

Get the shaped state of a window.

Returns
If true, the window is shaped
See also
elm_win_shaped_set()

Referenced by elm_win_shaped_get(), and elm_win::shaped_get().

EOAPI void elm_obj_win_shaped_set ( Eina_Bool  shaped)

Set the shaped state of a window.

Shaped windows, when supported, will render the parts of the window that has no content, transparent.

If shaped is EINA_FALSE, then it is strongly advised to have some background object or cover the entire window in any other way, or the parts of the canvas that have no data will show framebuffer artifacts.

See also
elm_win_alpha_set()
Parameters
[in]shapedIf true, the window is shaped

Referenced by elm_win_shaped_set(), and elm_win::shaped_set().

EOAPI void elm_obj_win_size_base_get ( int *  w,
int *  h 
)

Get the base size of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
[out]wThe base width
[out]hThe base height

Referenced by elm_win_size_base_get(), and elm_win::size_base_get().

EOAPI void elm_obj_win_size_base_set ( int  w,
int  h 
)

Set the base window size used with stepping calculation.

Base size + stepping is what is calculated for window sizing restrictions.

See also
elm_win_size_step_set
elm_win_size_base_get
Since
1.7
Parameters
[in]wThe base width
[in]hThe base height

Referenced by elm_win_size_base_set(), and elm_win::size_base_set().

EOAPI void elm_obj_win_size_step_get ( int *  w,
int *  h 
)

Get the stepping of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
[out]wThe stepping width (0 disables)
[out]hThe stepping height (0 disables)

Referenced by elm_win_size_step_get(), and elm_win::size_step_get().

EOAPI void elm_obj_win_size_step_set ( int  w,
int  h 
)

Set the window stepping used with sizing calculation.

Base size + stepping is what is calculated for window sizing restrictions.

See also
elm_win_size_step_get
elm_win_size_base_set
Since
1.7
Parameters
[in]wThe stepping width (0 disables)
[in]hThe stepping height (0 disables)

Referenced by elm_win_size_step_set(), and elm_win::size_step_set().

EOAPI Eina_Bool elm_obj_win_socket_listen ( const char *  svcname,
int  svcnum,
Eina_Bool  svcsys 
)

Create a socket to provide the service for Plug widget.

Returns
If socket creation is successful
Parameters
[in]svcnameThe name of the service to be advertised. ensure that it is unique (when combined with svcnum) otherwise creation may fail.
[in]svcnumA number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.
[in]svcsysA boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user id that created the service.

Referenced by elm_win_socket_listen(), and elm_win::socket_listen().

EOAPI Eina_Bool elm_obj_win_sticky_get ( void  )

Get the sticky state of the window.

Returns
If true, the window's sticky state is enabled
See also
elm_win_sticky_set()

Referenced by elm_win_sticky_get(), and elm_win::sticky_get().

EOAPI void elm_obj_win_sticky_set ( Eina_Bool  sticky)

Set the sticky state of the window.

Hints the Window Manager that the window in obj should be left fixed at its position even when the virtual desktop it's on moves or changes.

Parameters
[in]stickyIf true, the window's sticky state is enabled

Referenced by elm_win_sticky_set(), and elm_win::sticky_set().

EOAPI const char* elm_obj_win_title_get ( void  )

Get the title of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new title is set or if the window is destroyed.

Returns
The title

Referenced by elm_win_title_get(), and elm_win::title_get().

EOAPI void elm_obj_win_title_set ( const char *  title)

Set the title of the window.

Parameters
[in]titleThe title to set

Referenced by elm_win_title_set(), and elm_win::title_set().

EOAPI void* elm_obj_win_trap_data_get ( void  )

Get the trap data associated with a window.

Since
1.12

Referenced by elm_win_trap_data_get().

EOAPI Elm_Win_Type elm_obj_win_type_get ( void  )

The type of the window.

It is a hint of how the Window Manager should handle it.

The window type is a constructing property that need to be set at creation within eo_add.

Example:

1 win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_type_set(ELM_WIN_BASIC));
Note
Once set, it can NOT be modified afterward.
See also
Elm_Win_Type

If the object is not window object, return #ELM_WIN_UNKNOWN.

Referenced by elm_win_type_get(), and elm_win::type_get().

EOAPI void elm_obj_win_type_set ( Elm_Win_Type  type)

The type of the window.

It is a hint of how the Window Manager should handle it.

The window type is a constructing property that need to be set at creation within eo_add.

Example:

1 win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_type_set(ELM_WIN_BASIC));
Note
Once set, it can NOT be modified afterward.
See also
Elm_Win_Type

Can only be used at creation time, within eo_add.

See also
Elm_Win_Type
Parameters
[in]typeNo description supplied.

Referenced by elm_win_add(), elm_win_fake_add(), and elm_win_type_set().

EOAPI Eina_Bool elm_obj_win_urgent_get ( void  )

Get the urgent state of a window.

Returns
If true, the window is urgent

Referenced by elm_win_urgent_get(), and elm_win::urgent_get().

EOAPI void elm_obj_win_urgent_set ( Eina_Bool  urgent)

Set the urgent state of a window.

Parameters
[in]urgentIf true, the window is urgent

Referenced by elm_win_urgent_set(), and elm_win::urgent_set().

EOAPI Ecore_Window elm_obj_win_window_id_get ( void  )

Get the Ecore_Window of an Evas_Object.

When Elementary is using a Wayland engine, this function will return the surface id of the elm window's surface.

Returns
The Ecore_Window of an Evas_Object
Since
1.8

Referenced by elm_win_window_id_get(), and elm_win::window_id_get().

EOAPI Eina_Bool elm_obj_win_withdrawn_get ( void  )

Get the withdrawn state of a window.

Returns
If true, the window is withdrawn

Referenced by elm_win_withdrawn_get(), and elm_win::withdrawn_get().

EOAPI void elm_obj_win_withdrawn_set ( Eina_Bool  withdrawn)

Set the withdrawn state of a window.

Parameters
[in]withdrawnIf true, the window is withdrawn

Referenced by elm_win_withdrawn_set(), and elm_win::withdrawn_set().

EOAPI Ecore_Wl_Window* elm_obj_win_wl_window_get ( void  )

Get the Ecore_Wl_Window of an Evas_Object.

Returns
The Ecore_Wl_Window of obj

Referenced by elm_win_wl_window_get(), and elm_win::wl_window_get().

EOAPI Eina_Bool elm_obj_win_wm_rotation_supported_get ( void  )

Query whether window manager supports window rotation or not.

The window manager rotation allows the WM to controls the rotation of application windows. It is designed to support synchronized rotation for the multiple application windows at same time.

Returns
EINA_TRUE if the window manager rotation is supported, EINA_FALSE otherwise.
See also
elm_win_wm_rotation_supported_get()
elm_win_wm_rotation_preferred_rotation_set()
elm_win_wm_rotation_preferred_rotation_get()
elm_win_wm_rotation_available_rotations_set()
elm_win_wm_rotation_available_rotations_get()
elm_win_wm_rotation_manual_rotation_done_set()
elm_win_wm_rotation_manual_rotation_done_get()
elm_win_wm_rotation_manual_rotation_done()
Since
1.9

Referenced by elm_win_wm_rotation_supported_get(), and elm_win::wm_rotation_supported_get().

EOAPI Ecore_X_Window elm_obj_win_xwindow_get ( void  )

Get the Ecore_X_Window of an Evas_Object.

Returns
The Ecore_X_Window of obj

Referenced by elm_win_xwindow_get(), and elm_win::xwindow_get().

void elm_win_activate ( Elm_Win *  obj)

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 after it.

References elm_obj_win_activate().

Evas_Object* elm_win_add ( Evas_Object *  parent,
const char *  name,
Elm_Win_Type  type 
)

Adds a window object.

If this is the first window created, pass NULL as parent.

Parameters
parentParent object to add the window to, or NULL
nameThe name of the window
typeThe window type, one of #Elm_Win_Type.

The parent parameter can be NULL for every window type except #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on which the image object will be created.

Returns
The created object, or NULL on failure

References elm_obj_win_name_set(), and elm_obj_win_type_set().

Referenced by elm_quicklaunch_seed(), elm_win_util_dialog_add(), and elm_win_util_standard_add().

Eina_Bool elm_win_alpha_get ( const Elm_Win *  obj)

Get the alpha channel state of a window.

Returns
EINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise

References elm_obj_win_alpha_get().

void elm_win_alpha_set ( Elm_Win *  obj,
Eina_Bool  alpha 
)

Set the alpha channel state of a window.

If alpha is EINA_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, like for example, running under a compositing manager. If no compositing is available, enabling this option will instead fallback to using shaped windows, with elm_win_shaped_set().

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.
See also
elm_win_alpha_set()
Parameters
[in]alphaEINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise

References elm_obj_win_alpha_set().

double elm_win_aspect_get ( const Elm_Win *  obj)

Get the aspect ratio of a window.

Returns
The aspect ratio set (0 by default)

References elm_obj_win_aspect_get().

void elm_win_aspect_set ( Elm_Win *  obj,
double  aspect 
)

Set the aspect ratio of a window.

Parameters
[in]aspectIf 0, the window has no aspect limits, otherwise it is width divided by height

References elm_obj_win_aspect_set().

Eina_Bool elm_win_autodel_get ( const Elm_Win *  obj)

Get the window's autodel state.

Returns
If the window will automatically delete itself when closed
See also
elm_win_autodel_set()

References elm_obj_win_autodel_get().

void elm_win_autodel_set ( Elm_Win *  obj,
Eina_Bool  autodel 
)

Set the window's autodel state.

When closing the window in any way outside of the program control, like pressing the X button in the titlebar or using a command from the Window Manager, a "delete,request" signal is emitted to indicate that this event occurred and the developer can take any action, which may include, or not, destroying the window object.

When the autodel parameter is set, the window will be automatically destroyed when this event occurs, after the signal is emitted. If autodel is EINA_FALSE, then the window will not be destroyed and is up to the program to do so when it's required.

Parameters
[in]autodelIf true, the window will automatically delete itself when closed

References elm_obj_win_autodel_set().

Eina_Bool elm_win_available_profiles_get ( const Elm_Win *  obj,
char ***  profiles,
unsigned int *  count 
)

Get the array of available profiles of a window.

Returns
EINA_TRUE if available profiles exist, EINA_FALSE otherwise
Since
1.8
Parameters
[out]profilesThe string array of available profiles
[out]countThe number of members in profiles

References elm_obj_win_available_profiles_get().

void elm_win_available_profiles_set ( Elm_Win *  obj,
const char **  profiles,
unsigned int  count 
)

Set the array of available profiles to a window.

Since
1.8
Parameters
[in]profilesThe string array of available profiles
[in]countThe number of members in profiles

References elm_obj_win_available_profiles_set().

Eina_Bool elm_win_borderless_get ( const Elm_Win *  obj)

Get the borderless state of a window.

Returns
If true, the window is borderless

References elm_obj_win_borderless_get().

void elm_win_borderless_set ( Elm_Win *  obj,
Eina_Bool  borderless 
)

Set the borderless state of a window.

This function requests the Window Manager to not draw any decoration around the window.

Parameters
[in]borderlessIf true, the window is borderless

References elm_obj_win_borderless_set().

void elm_win_center ( Elm_Win *  obj,
Eina_Bool  h,
Eina_Bool  v 
)

Center a window on its screen.

This function centers window obj horizontally and/or vertically based on the values of h and v.

Parameters
[in]hIf true, center horizontally. If false, do not change horizontal location.
[in]vIf true, center vertically. If false, do not change vertical location.

References elm_obj_win_center().

Eina_Bool elm_win_conformant_get ( const Elm_Win *  obj)

Get if this window is an illume conformant window.

Returns
A boolean if this window is illume conformant or not

References elm_obj_win_conformant_get().

void elm_win_conformant_set ( Elm_Win *  obj,
Eina_Bool  conformant 
)

Set if this window is an illume conformant window.

Parameters
[in]conformantThe conformant flag (1 = conformant, 0 = non-conformant)

References elm_obj_win_conformant_set().

Eina_Bool elm_win_demand_attention_get ( const Elm_Win *  obj)

Get the demand_attention state of a window.

Returns
If true, the window is demand_attention

References elm_obj_win_demand_attention_get().

void elm_win_demand_attention_set ( Elm_Win *  obj,
Eina_Bool  demand_attention 
)

Set the demand_attention state of a window.

Parameters
[in]demand_attentionIf true, the window is demand_attention

References elm_obj_win_demand_attention_set().

Evas_Object* elm_win_fake_add ( Ecore_Evas *  ee)

Creates a fake window object using a pre-existing canvas.

Parameters
eeThe Ecore_Evas to use

The returned window widget will not manage or modify the canvas; this canvas must continue to be managed externally.

Do not use this function if you are not writing a window manager.

Warning
Exact behaviors of this function are not guaranteed.
Returns
The created object, or NULL on failure
Since
1.13

References elm_obj_win_name_set(), and elm_obj_win_type_set().

Eina_Bool elm_win_floating_mode_get ( const Evas_Object *  obj)

Get the floating mode of a window.

Parameters
objThe window object
Returns
If true, the window is floating mode
See also
elm_win_floating_mode_set()
Since
1.8
void elm_win_floating_mode_set ( Evas_Object *  obj,
Eina_Bool  floating 
)

Set the floating mode of a window.

Parameters
objThe window object
floatingIf true, the window is floating mode

The floating mode can be used on mobile environment. For example, if the video-player window sets the floating mode, then e (enlightenment window manager) changes its geometry and handles it like a popup. This is similar to a multi window concept in a mobile phone. The way of handling floating mode window is decided by enlightenment window manager.

See also
elm_win_floating_mode_get()
Since
1.8
Eina_Bool elm_win_focus_get ( const Elm_Win *  obj)

Determine whether a window has focus.

Returns
EINA_TRUE if the window exists and has focus, else EINA_FALSE

References elm_obj_win_focus_get().

Eina_Bool elm_win_focus_highlight_animate_get ( const Elm_Win *  obj)

Get the animate value of the focus highlight for this window.

Returns
EINA_TRUE if animation is enabled, EINA_FALSE otherwise

References elm_obj_win_focus_highlight_animate_get().

void elm_win_focus_highlight_animate_set ( Elm_Win *  obj,
Eina_Bool  animate 
)

Set the animate status for the focus highlight for this window.

This function will enable or disable the animation of focus highlight only for the given window, regardless of the global setting for it

Parameters
[in]animateThe enabled value for the highlight animation

References elm_obj_win_focus_highlight_animate_set().

Eina_Bool elm_win_focus_highlight_enabled_get ( const Elm_Win *  obj)

Get the enabled value of the focus highlight for this window.

Returns
EINA_TRUE if enabled, EINA_FALSE otherwise

References elm_obj_win_focus_highlight_enabled_get().

void elm_win_focus_highlight_enabled_set ( Elm_Win *  obj,
Eina_Bool  enabled 
)

Set the enabled status for the focus highlight in a window.

This function will enable or disable the focus highlight only for the given window, regardless of the global setting for it

Parameters
[in]enabledThe enabled value for the highlight

References elm_obj_win_focus_highlight_enabled_set().

const char* elm_win_focus_highlight_style_get ( const Elm_Win *  obj)

Get the style set for the focus highlight object.

Get the style set for this windows highlight object, or NULL if none is set.

Returns
The style set or NULL if none was. Default is used in that case.

References elm_obj_win_focus_highlight_style_get().

void elm_win_focus_highlight_style_set ( Elm_Win *  obj,
const char *  style 
)

Set the style for the focus highlight on this window.

Sets the style to use for theming the highlight of focused objects on the given window. If style is NULL, the default will be used.

Parameters
[in]styleThe style to set

References elm_obj_win_focus_highlight_style_set().

Eina_Bool elm_win_fullscreen_get ( const Elm_Win *  obj)

Get the fullscreen state of a window.

Returns
If true, the window is fullscreen

References elm_obj_win_fullscreen_get().

void elm_win_fullscreen_set ( Elm_Win *  obj,
Eina_Bool  fullscreen 
)

Set the fullscreen state of a window.

Parameters
[in]fullscreenIf true, the window is fullscreen

References elm_obj_win_fullscreen_set().

const char* elm_win_icon_name_get ( const Elm_Win *  obj)

Get the icon name of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new icon name is set or if the window is destroyed.

Returns
The icon name

References elm_obj_win_icon_name_get().

void elm_win_icon_name_set ( Elm_Win *  obj,
const char *  icon_name 
)

Set the icon name of the window.

Parameters
[in]icon_nameThe icon name to set

References elm_obj_win_icon_name_set().

const Evas_Object* elm_win_icon_object_get ( const Elm_Win *  obj)

Get the icon object used for the window.

The object returns is the one marked by elm_win_icon_object_set() as the object to use for the window icon.

Returns
The icon object set

References elm_obj_win_icon_object_get().

void elm_win_icon_object_set ( Elm_Win *  obj,
Evas_Object *  icon 
)

Set 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 put them on the window's icon. Note that only Evas image objects are allowed, for

Example of usage:

1 icon = evas_object_image_add(evas_object_evas_get(elm_window));
2 evas_object_image_file_set(icon, "/path/to/the/icon", NULL);
3 elm_win_icon_object_set(elm_window, icon);
4 evas_object_show(icon);
Parameters
[in]iconThe Evas image object to use for an icon

References elm_obj_win_icon_object_set().

Eina_Bool elm_win_iconified_get ( const Elm_Win *  obj)

Get the iconified state of a window.

Returns
If true, the window is iconified

References elm_obj_win_iconified_get().

void elm_win_iconified_set ( Elm_Win *  obj,
Eina_Bool  iconified 
)

Set the iconified state of a window.

Parameters
[in]iconifiedIf true, the window is iconified

References elm_obj_win_iconified_set().

void elm_win_illume_command_send ( Elm_Win *  obj,
Elm_Illume_Command  command,
void *  params 
)

Send a command to the windowing environment.

This is intended to work in touchscreen or small screen device environments where there is a more simplistic window management policy in place. This uses the window object indicated to select which part of the environment to control (the part that this window lives in), and provides a command and an optional parameter structure (use NULL for this if not needed).

Parameters
[in]commandThe command to send
[in]paramsOptional parameters for the command

References elm_obj_win_illume_command_send().

Elm_Win_Indicator_Mode elm_win_indicator_mode_get ( const Elm_Win *  obj)

Get the indicator mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Mode

References elm_obj_win_indicator_mode_get().

void elm_win_indicator_mode_set ( Elm_Win *  obj,
Elm_Win_Indicator_Mode  mode 
)

Sets the indicator mode of the window.

Parameters
[in]modeThe mode to set, one of #Elm_Win_Indicator_Mode

References elm_obj_win_indicator_mode_set().

Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get ( const Elm_Win *  obj)

Get the indicator opacity mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Opacity_Mode

References elm_obj_win_indicator_opacity_get().

void elm_win_indicator_opacity_set ( Elm_Win *  obj,
Elm_Win_Indicator_Opacity_Mode  mode 
)

Sets the indicator opacity mode of the window.

Parameters
[in]modeThe mode to set, one of #Elm_Win_Indicator_Opacity_Mode

References elm_obj_win_indicator_opacity_set().

Evas_Object* elm_win_inlined_image_object_get ( const Elm_Win *  obj)

Get the inlined image object handle.

When you create a window with elm_win_add() of type #ELM_WIN_INLINED_IMAGE, then the window is in fact an evas image object inlined in the parent canvas. You can get this object (be careful to not manipulate it as it is under control of elementary), and use it to do things like get pixel data, save the image to a file, etc.

Returns
The inlined image object, or NULL if none exists

References elm_obj_win_inlined_image_object_get().

Referenced by elm_object_focus_set().

Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get ( const Elm_Win *  obj)

Get the keyboard mode of the window.

Returns
The mode, one of #Elm_Win_Keyboard_Mode

References elm_obj_win_keyboard_mode_get().

void elm_win_keyboard_mode_set ( Elm_Win *  obj,
Elm_Win_Keyboard_Mode  mode 
)

Sets the keyboard mode of the window.

Parameters
[in]modeThe mode to set, one of #Elm_Win_Keyboard_Mode

References elm_obj_win_keyboard_mode_set().

Eina_Bool elm_win_keyboard_win_get ( const Elm_Win *  obj)

Get whether the window is a keyboard.

Returns
If the window is a virtual keyboard

References elm_obj_win_keyboard_win_get().

void elm_win_keyboard_win_set ( Elm_Win *  obj,
Eina_Bool  is_keyboard 
)

Sets whether the window is a keyboard.

Parameters
[in]is_keyboardIf true, the window is a virtual keyboard

References elm_obj_win_keyboard_win_set().

Eina_Bool elm_win_keygrab_set ( Elm_Win *  obj,
const char *  key,
Evas_Modifier_Mask  modifiers,
Evas_Modifier_Mask  not_modifiers,
int  proirity,
Elm_Win_Keygrab_Mode  grab_mode 
)

Set keygrab value of the window.

This function grabs the key of window using grab_mode.

Parameters
[in]keyThis string is the keyname to grab.
[in]modifiersThis is for the keymask feature. Currently this feature is not supported.
[in]not_modifiersThis is for the keymask feature. Currently this feature is not supported.
[in]proirityThis is for the priority of keygrab. Currently this feature is not supported.
[in]grab_modeAccording to the grabmode, it can grab key differently

References elm_obj_win_keygrab_set().

Eina_Bool elm_win_keygrab_unset ( Elm_Win *  obj,
const char *  key,
Evas_Modifier_Mask  modifiers,
Evas_Modifier_Mask  not_modifiers 
)

Unset keygrab value of the window.

This function unset keygrab value. Ungrab key of window.

Parameters
[in]keyThis string is the keyname to grab.
[in]modifiersThis is for the keymask feature. Currently this feature is not supported.
[in]not_modifiersThis is for the keymask feature. Currently this feature is not supported.

References elm_obj_win_keygrab_unset().

int elm_win_layer_get ( const Elm_Win *  obj)

Get the layer of the window.

Returns
The layer of the window
See also
elm_win_layer_set()

References elm_obj_win_layer_get().

void elm_win_layer_set ( Elm_Win *  obj,
int  layer 
)

Set the layer of the window.

What this means exactly will depend on the underlying engine used.

In the case of X11 backed engines, the value in layer has the following meanings:

  • < 3: The window will be placed below all others.
  • > 5: The window will be placed above all others.
  • other: The window will be placed in the default layer.
Parameters
[in]layerThe layer of the window

References elm_obj_win_layer_set().

void elm_win_lower ( Elm_Win *  obj)

Lower a window object.

Places the window pointed by obj at the bottom of the stack, so that no other window is covered by it.

If elm_win_override_set() is not set, the Window Manager may ignore this request.

References elm_obj_win_lower().

Evas_Object* elm_win_main_menu_get ( const Elm_Win *  obj)

Get the Main Menu of a window.

Returns
The Main Menu of the window (NULL if error).

References elm_obj_win_main_menu_get().

Eina_Bool elm_win_maximized_get ( const Elm_Win *  obj)

Get the maximized state of a window.

Returns
If true, the window is maximized

References elm_obj_win_maximized_get().

void elm_win_maximized_set ( Elm_Win *  obj,
Eina_Bool  maximized 
)

Set the maximized state of a window.

Parameters
[in]maximizedIf true, the window is maximized

References elm_obj_win_maximized_set().

Eina_Bool elm_win_modal_get ( const Elm_Win *  obj)

Get the modal state of a window.

Returns
If true, the window is modal

References elm_obj_win_modal_get().

void elm_win_modal_set ( Elm_Win *  obj,
Eina_Bool  modal 
)

Set the modal state of a window.

Parameters
[in]modalIf true, the window is modal

References elm_obj_win_modal_set().

void elm_win_name_set ( Elm_Win *  obj,
const char *  name 
)

The window name.

The meaning of name depends on the underlying windowing system.

The window name is a constructing property that need to be set at creation within eo_add.

Example:

1 win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_name_set(ELM_WIN_BASIC));
Note
Once set, it can NOT be modified afterward.

Can only be used at creation time, within eo_add.

Parameters
[in]nameNo description supplied.

References elm_obj_win_name_set().

Eina_Bool elm_win_noblank_get ( const Elm_Win *  obj)

Get the noblank property of a window.

Returns
If true, the window has "noblank" set.
Since
1.11

References elm_obj_win_noblank_get().

void elm_win_noblank_set ( Elm_Win *  obj,
Eina_Bool  noblank 
)

Set the noblank property of a window.

The "noblank" property is a way to request the display on which the windowis shown does not blank, screensave or otherwise hide or obscure the window. It is intended for uses such as media playback on a television where a user may not want to be interrupted by an idle screen. The noblank property may have no effect if the window is iconified/minimized or hidden.

Since
1.11
Parameters
[in]noblankIf true, the window is set to noblank

References elm_obj_win_noblank_set().

int elm_win_norender_get ( const Evas_Object *  obj)

The retruns how many times norender has been pushed on the window.

Parameters
objThe window object
Returns
The number of times norender has been pushed
See also
elm_win_norender_push()
elm_win_norender_pop()
elm_win_render()
Since
1.7
void elm_win_norender_pop ( Evas_Object *  obj)

This pops (decrements) the norender counter on the window.

Parameters
objThe window object

Once norender has gone back to 0, then automatic rendering will continue in the given window. If it is already at 0, this will have no effect.

See also
elm_win_norender_push()
elm_win_norender_get()
elm_win_render()
Since
1.7
void elm_win_norender_push ( Evas_Object *  obj)

This pushes (increments) the norender counter on the window.

Parameters
objThe window object

There are some occasions where you wish to suspend rendering on a window. You may be "sleeping" and have nothing to update and do not want animations or other theme side-effects causing rendering to the window while "asleep". You can push (and pop) the norender mode to have this work.

If combined with evas_render_dump(), evas_image_cache_flush() and evas_font_cache_flush() (and maybe edje_file_cache_flush() and edje_collection_cache_flush()), you can minimize memory footprint significantly while "asleep", and the pausing of rendering ensures evas does not re-load data into memory until needed. When rendering is resumed, data will be re-loaded as needed, which may result in some lag, but does save memory.

See also
elm_win_norender_pop()
elm_win_norender_get()
elm_win_render()
Since
1.7
Eina_Bool elm_win_override_get ( const Elm_Win *  obj)

Get the override state of a window.

Returns
If true, the window is overridden
See also
elm_win_override_set()

References elm_obj_win_override_get().

void elm_win_override_set ( Elm_Win *  obj,
Eina_Bool  override 
)

Set the override state of a window.

A window with override set to EINA_TRUE will not be managed by the Window Manager. This means that no decorations of any kind will be shown for it, moving and resizing must be handled by the application, as well as the window visibility.

This should not be used for normal windows, and even for not so normal ones, it should only be used when there's a good reason and with a lot of care. Mishandling override windows may result situations that disrupt the normal workflow of the end user.

Parameters
[in]overrideIf true, the window is overridden

References elm_obj_win_override_set().

const char* elm_win_profile_get ( const Elm_Win *  obj)

Get the profile of a window.

Returns
The string value of a window profile, or NULL if none exists
Since
1.8

References elm_obj_win_profile_get().

void elm_win_profile_set ( Elm_Win *  obj,
const char *  profile 
)

Set the profile of a window.

Since
1.8
Parameters
[in]profileThe string value of a window profile

References elm_obj_win_profile_set().

void elm_win_prop_focus_skip_set ( Elm_Win *  obj,
Eina_Bool  skip 
)

Set the window to be skipped by keyboard focus.

This sets the window to be skipped by normal keyboard input. This means a window manager will be asked to not focus this window as well as omit it from things like the taskbar, pager, "alt-tab" list etc. etc.

Call this and enable it on a window BEFORE you show it for the first time, otherwise it may have no effect.

Use this for windows that have only output information or might only be interacted with by the mouse or fingers, and never for typing input. Be careful that this may have side-effects like making the window non-accessible in some cases unless the window is specially handled. Use this with care.

Parameters
[in]skipThe skip flag state (EINA_TRUE if it is to be skipped)

References elm_obj_win_prop_focus_skip_set().

Eina_Bool elm_win_quickpanel_get ( const Elm_Win *  obj)

Get if this window is a quickpanel or not.

Returns
A boolean if this window is a quickpanel or not

References elm_obj_win_quickpanel_get().

int elm_win_quickpanel_priority_major_get ( const Elm_Win *  obj)

Get the major priority of a quickpanel window.

Returns
The major priority of this quickpanel. If the object is not window object, return -1.

References elm_obj_win_quickpanel_priority_major_get().

void elm_win_quickpanel_priority_major_set ( Elm_Win *  obj,
int  priority 
)

Set the major priority of a quickpanel window.

Parameters
[in]priorityThe major priority for this quickpanel

References elm_obj_win_quickpanel_priority_major_set().

int elm_win_quickpanel_priority_minor_get ( const Elm_Win *  obj)

Get the minor priority of a quickpanel window.

Returns
The minor priority of this quickpanel. If the object is not window object, return -1.

References elm_obj_win_quickpanel_priority_minor_get().

void elm_win_quickpanel_priority_minor_set ( Elm_Win *  obj,
int  priority 
)

Set the minor priority of a quickpanel window.

Parameters
[in]priorityThe minor priority for this quickpanel

References elm_obj_win_quickpanel_priority_minor_set().

void elm_win_quickpanel_set ( Elm_Win *  obj,
Eina_Bool  quickpanel 
)

Set a window to be an illume quickpanel window.

By default window objects are not quickpanel windows.

Parameters
[in]quickpanelThe quickpanel flag (1 = quickpanel, 0 = normal window)

References elm_obj_win_quickpanel_set().

int elm_win_quickpanel_zone_get ( const Elm_Win *  obj)

Get which zone this quickpanel should appear in.

Returns
The requested zone for this quickpanel

References elm_obj_win_quickpanel_zone_get().

void elm_win_quickpanel_zone_set ( Elm_Win *  obj,
int  zone 
)

Set which zone this quickpanel should appear in.

Parameters
[in]zoneThe requested zone for this quickpanel

References elm_obj_win_quickpanel_zone_set().

void elm_win_raise ( Elm_Win *  obj)

Raise a window object.

Places the window pointed by obj at the top of the stack, so that it's not covered by any other window.

If elm_win_override_set() is not set, the Window Manager may ignore this request.

References elm_obj_win_raise().

void elm_win_render ( Evas_Object *  obj)

This manually asks evas to render the window now.

Parameters
objThe window object

You should NEVER call this unless you really know what you are doing and why. Never call this unless you are asking for performance degredation and possibly weird behavior. Windows get automatically rendered when the application goes into the idle enter state so there is never a need to call this UNLESS you have enabled "norender" mode.

See also
elm_win_norender_push()
elm_win_norender_pop()
elm_win_norender_get()
Since
1.7
void elm_win_resize_object_add ( Elm_Win *  obj,
Evas_Object *  subobj 
)

Add subobj as a resize object of window obj.

Setting an object as a resize object of the window means that the subobj child's size and position will be controlled by the window directly. That is, the object will be resized to match the window size and should never be moved or resized manually by the developer.

In addition, resize objects of the window control what the minimum size of it will be, as well as whether it can or not be resized by the user.

For the end user to be able to resize a window by dragging the handles or borders provided by the Window Manager, or using any other similar mechanism, all of the resize objects in the window should have their evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.

Also notice that the window can get resized to the current size of the object if the EVAS_HINT_EXPAND is set after the call to elm_win_resize_object_add(). So if the object should get resized to the size of the window, set this hint before adding it as a resize object (this happens because the size of the window and the object are evaluated as soon as the object is added to the window).

Parameters
[in]subobjThe resize object to add

References elm_obj_win_resize_object_add().

Referenced by elm_quicklaunch_seed(), elm_win_util_dialog_add(), and elm_win_util_standard_add().

void elm_win_resize_object_del ( Elm_Win *  obj,
Evas_Object *  subobj 
)

Delete subobj as a resize object of window obj.

This function removes the object subobj from the resize objects of the window obj. It will not delete the object itself, which will be left unmanaged and should be deleted by the developer, manually handled or set as child of some other container.

Parameters
[in]subobjThe resize object to add

References elm_obj_win_resize_object_del().

const char* elm_win_role_get ( const Elm_Win *  obj)

Get the role of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new role is set or if the window is destroyed.

Returns
The role

References elm_obj_win_role_get().

void elm_win_role_set ( Elm_Win *  obj,
const char *  role 
)

Set the role of the window.

Parameters
[in]roleThe role to set

References elm_obj_win_role_set().

int elm_win_rotation_get ( const Elm_Win *  obj)

Get the rotation of the window.

Returns
The rotation of the window in degrees (0-360)
See also
elm_win_rotation_set()
elm_win_rotation_with_resize_set()

References elm_obj_win_rotation_get().

void elm_win_rotation_set ( Elm_Win *  obj,
int  rotation 
)

Set the rotation of the window.

Most engines only work with multiples of 90.

This function is used to set the orientation of the window obj to match that of the screen. The window itself will be resized to adjust to the new geometry of its contents. If you want to keep the window size, see elm_win_rotation_with_resize_set().

Parameters
[in]rotationThe rotation of the window, in degrees (0-360), counter-clockwise.

References elm_obj_win_rotation_set().

void elm_win_rotation_with_resize_set ( Elm_Win *  obj,
int  rotation 
)

Rotates the window and resizes it.

Like elm_win_rotation_set(), but it also resizes the window's contents so that they fit inside the current window geometry.

Parameters
[in]rotationThe rotation of the window in degrees (0-360), counter-clockwise.

References elm_obj_win_rotation_with_resize_set().

Eina_Bool elm_win_screen_constrain_get ( const Elm_Win *  obj)

Get the constraints on the maximum width and height of a window relative to the width and height of its screen.

When this function returns true, obj will never resize larger than the screen.

Returns
EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction

References elm_obj_win_screen_constrain_get().

void elm_win_screen_constrain_set ( Elm_Win *  obj,
Eina_Bool  constrain 
)

Constrain the maximum width and height of a window to the width and height of its screen.

When constrain is true, obj will never resize larger than the screen.

Parameters
[in]constrainEINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction

References elm_obj_win_screen_constrain_set().

void elm_win_screen_dpi_get ( const Elm_Win *  obj,
int *  xdpi,
int *  ydpi 
)

Get screen dpi for the screen that a window is on.

Since
1.7
Parameters
[out]xdpiPointer to value to store return horizontal dpi. May be NULL.
[out]ydpiPointer to value to store return vertical dpi. May be NULL.

References elm_obj_win_screen_dpi_get().

void elm_win_screen_position_get ( const Elm_Win *  obj,
int *  x,
int *  y 
)

Get the screen position of a window.

Parameters
[out]xThe int to store the x coordinate to
[out]yThe int to store the y coordinate to

References elm_obj_win_screen_position_get().

void elm_win_screen_size_get ( const Elm_Win *  obj,
int *  x,
int *  y,
int *  w,
int *  h 
)

Get screen geometry details for the screen that a window is on.

Parameters
[out]xwhere to return the horizontal offset value. May be NULL.
[out]ywhere to return the vertical offset value. May be NULL.
[out]wwhere to return the width value. May be NULL.
[out]hwhere to return the height value. May be NULL.

References elm_obj_win_screen_size_get().

Eina_Bool elm_win_shaped_get ( const Elm_Win *  obj)

Get the shaped state of a window.

Returns
If true, the window is shaped
See also
elm_win_shaped_set()

References elm_obj_win_shaped_get().

void elm_win_shaped_set ( Elm_Win *  obj,
Eina_Bool  shaped 
)

Set the shaped state of a window.

Shaped windows, when supported, will render the parts of the window that has no content, transparent.

If shaped is EINA_FALSE, then it is strongly advised to have some background object or cover the entire window in any other way, or the parts of the canvas that have no data will show framebuffer artifacts.

See also
elm_win_alpha_set()
Parameters
[in]shapedIf true, the window is shaped

References elm_obj_win_shaped_set().

void elm_win_size_base_get ( const Elm_Win *  obj,
int *  w,
int *  h 
)

Get the base size of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
[out]wThe base width
[out]hThe base height

References elm_obj_win_size_base_get().

void elm_win_size_base_set ( Elm_Win *  obj,
int  w,
int  h 
)

Set the base window size used with stepping calculation.

Base size + stepping is what is calculated for window sizing restrictions.

See also
elm_win_size_step_set
elm_win_size_base_get
Since
1.7
Parameters
[in]wThe base width
[in]hThe base height

References elm_obj_win_size_base_set().

void elm_win_size_step_get ( const Elm_Win *  obj,
int *  w,
int *  h 
)

Get the stepping of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
[out]wThe stepping width (0 disables)
[out]hThe stepping height (0 disables)

References elm_obj_win_size_step_get().

void elm_win_size_step_set ( Elm_Win *  obj,
int  w,
int  h 
)

Set the window stepping used with sizing calculation.

Base size + stepping is what is calculated for window sizing restrictions.

See also
elm_win_size_step_get
elm_win_size_base_set
Since
1.7
Parameters
[in]wThe stepping width (0 disables)
[in]hThe stepping height (0 disables)

References elm_obj_win_size_step_set().

Eina_Bool elm_win_socket_listen ( Elm_Win *  obj,
const char *  svcname,
int  svcnum,
Eina_Bool  svcsys 
)

Create a socket to provide the service for Plug widget.

Returns
If socket creation is successful
Parameters
[in]svcnameThe name of the service to be advertised. ensure that it is unique (when combined with svcnum) otherwise creation may fail.
[in]svcnumA number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.
[in]svcsysA boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user id that created the service.

References elm_obj_win_socket_listen().

Eina_Bool elm_win_sticky_get ( const Elm_Win *  obj)

Get the sticky state of the window.

Returns
If true, the window's sticky state is enabled
See also
elm_win_sticky_set()

References elm_obj_win_sticky_get().

void elm_win_sticky_set ( Elm_Win *  obj,
Eina_Bool  sticky 
)

Set the sticky state of the window.

Hints the Window Manager that the window in obj should be left fixed at its position even when the virtual desktop it's on moves or changes.

Parameters
[in]stickyIf true, the window's sticky state is enabled

References elm_obj_win_sticky_set().

const char* elm_win_title_get ( const Elm_Win *  obj)

Get the title of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new title is set or if the window is destroyed.

Returns
The title

References elm_obj_win_title_get().

void elm_win_title_set ( Elm_Win *  obj,
const char *  title 
)

Set the title of the window.

Parameters
[in]titleThe title to set

References elm_obj_win_title_set().

Referenced by elm_win_util_dialog_add(), and elm_win_util_standard_add().

void* elm_win_trap_data_get ( const Elm_Win *  obj)

Get the trap data associated with a window.

Since
1.12

References elm_obj_win_trap_data_get().

Eina_Bool elm_win_trap_set ( const Elm_Win_Trap trap)

Sets the trap to be used for internal Ecore_Evas management.

Parameters
trapthe trap to be used or NULL to remove traps. Pointer is not modified or copied, keep it alive.
Returns
EINA_TRUE on success, EINA_FALSE if there was a problem, such as invalid version number.
Warning
this is an advanced feature that you should avoid using.
Since
1.7
Elm_Win_Type elm_win_type_get ( const Elm_Win *  obj)

The type of the window.

It is a hint of how the Window Manager should handle it.

The window type is a constructing property that need to be set at creation within eo_add.

Example:

1 win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_type_set(ELM_WIN_BASIC));
Note
Once set, it can NOT be modified afterward.
See also
Elm_Win_Type

If the object is not window object, return #ELM_WIN_UNKNOWN.

References elm_obj_win_type_get().

void elm_win_type_set ( Elm_Win *  obj,
Elm_Win_Type  type 
)

The type of the window.

It is a hint of how the Window Manager should handle it.

The window type is a constructing property that need to be set at creation within eo_add.

Example:

1 win = eo_add(ELM_WIN_CLASS, NULL, elm_obj_win_type_set(ELM_WIN_BASIC));
Note
Once set, it can NOT be modified afterward.
See also
Elm_Win_Type

Can only be used at creation time, within eo_add.

See also
Elm_Win_Type
Parameters
[in]typeNo description supplied.

References elm_obj_win_type_set().

Eina_Bool elm_win_urgent_get ( const Elm_Win *  obj)

Get the urgent state of a window.

Returns
If true, the window is urgent

References elm_obj_win_urgent_get().

void elm_win_urgent_set ( Elm_Win *  obj,
Eina_Bool  urgent 
)

Set the urgent state of a window.

Parameters
[in]urgentIf true, the window is urgent

References elm_obj_win_urgent_set().

Evas_Object* elm_win_util_dialog_add ( Evas_Object *  parent,
const char *  name,
const char *  title 
)

Adds a window object with dialog setup.

Parameters
parentThe parent window
nameThe name of the window
titleThe title for the window

This creates a window like elm_win_add() but also puts in a standard background with elm_bg_add(), as well as setting the window title to title. The window type created is of type ELM_WIN_DIALOG_BASIC. This tipe of window will be handled in special mode by window managers with regards of it's parent window.

Returns
The created object, or NULL on failure
See also
elm_win_add()
Since
1.13

References elm_bg_add(), elm_win_add(), elm_win_resize_object_add(), and elm_win_title_set().

Evas_Object* elm_win_util_standard_add ( const char *  name,
const char *  title 
)

Adds a window object with standard setup.

Parameters
nameThe name of the window
titleThe title for the window

This creates a window like elm_win_add() but also puts in a standard background with elm_bg_add(), as well as setting the window title to title. The window type created is of type ELM_WIN_BASIC, with NULL as the parent widget.

Returns
The created object, or NULL on failure
See also
elm_win_add()

References elm_bg_add(), elm_win_add(), elm_win_resize_object_add(), and elm_win_title_set().

Ecore_Window elm_win_window_id_get ( const Evas_Object *  obj)

Get the Ecore_Window of an Evas_Object.

When Elementary is using a Wayland engine, this function will return the surface id of the elm window's surface.

Parameters
objThe window object
Returns
The Ecore_Window of an Evas_Object
Since
1.8
Note
Unless you are getting the window id for the purpose of communicating between client<->compositor over dbus, this is definitely not the function you are looking for.

References elm_obj_win_window_id_get().

Eina_Bool elm_win_withdrawn_get ( const Elm_Win *  obj)

Get the withdrawn state of a window.

Returns
If true, the window is withdrawn

References elm_obj_win_withdrawn_get().

void elm_win_withdrawn_set ( Elm_Win *  obj,
Eina_Bool  withdrawn 
)

Set the withdrawn state of a window.

Parameters
[in]withdrawnIf true, the window is withdrawn

References elm_obj_win_withdrawn_set().

Ecore_Wl_Window* elm_win_wl_window_get ( const Evas_Object *  obj)

Get the Ecore_Wl_Window of an Evas_Object.

Do not use this function if you'd like your application/library be portable. You have been warned.

Parameters
objthe object
Returns
The Ecore_Wl_Window of obj

References elm_obj_win_wl_window_get().

Eina_Bool elm_win_wm_rotation_supported_get ( const Elm_Win *  obj)

Query whether window manager supports window rotation or not.

The window manager rotation allows the WM to controls the rotation of application windows. It is designed to support synchronized rotation for the multiple application windows at same time.

Returns
EINA_TRUE if the window manager rotation is supported, EINA_FALSE otherwise.
See also
elm_win_wm_rotation_supported_get()
elm_win_wm_rotation_preferred_rotation_set()
elm_win_wm_rotation_preferred_rotation_get()
elm_win_wm_rotation_available_rotations_set()
elm_win_wm_rotation_available_rotations_get()
elm_win_wm_rotation_manual_rotation_done_set()
elm_win_wm_rotation_manual_rotation_done_get()
elm_win_wm_rotation_manual_rotation_done()
Since
1.9

References elm_obj_win_wm_rotation_supported_get().

Ecore_X_Window elm_win_xwindow_get ( const Elm_Win *  obj)

Get the Ecore_X_Window of an Evas_Object.

Returns
The Ecore_X_Window of obj

References elm_obj_win_xwindow_get().

bool elm_win::focus_get ( ) const
inline

Determine whether a window has focus.

Returns
EINA_TRUE if the window exists and has focus, else EINA_FALSE

References elm_obj_win_focus_get().

bool elm_win::focus_highlight_animate_get ( ) const
inline

Get the animate value of the focus highlight for this window.

Returns
EINA_TRUE if animation is enabled, EINA_FALSE otherwise
Parameters
animateThe enabled value for the highlight animation

References elm_obj_win_focus_highlight_animate_get().

void elm_win::focus_highlight_animate_set ( bool  animate_) const
inline

Get the animate value of the focus highlight for this window.

Returns
EINA_TRUE if animation is enabled, EINA_FALSE otherwise
Parameters
animateThe enabled value for the highlight animation

References elm_obj_win_focus_highlight_animate_set().

bool elm_win::focus_highlight_enabled_get ( ) const
inline

Get the enabled value of the focus highlight for this window.

Returns
EINA_TRUE if enabled, EINA_FALSE otherwise
Parameters
enabledThe enabled value for the highlight

References elm_obj_win_focus_highlight_enabled_get().

void elm_win::focus_highlight_enabled_set ( bool  enabled_) const
inline

Get the enabled value of the focus highlight for this window.

Returns
EINA_TRUE if enabled, EINA_FALSE otherwise
Parameters
enabledThe enabled value for the highlight

References elm_obj_win_focus_highlight_enabled_set().

std::string elm_win::focus_highlight_style_get ( ) const
inline

Get the style set for the focus highlight object.

Get the style set for this windows highlight object, or NULL if none is set.

Returns
The style set or NULL if none was. Default is used in that case.
Parameters
styleThe style to set

References elm_obj_win_focus_highlight_style_get().

void elm_win::focus_highlight_style_set ( std::string  style_) const
inline

Get the style set for the focus highlight object.

Get the style set for this windows highlight object, or NULL if none is set.

Returns
The style set or NULL if none was. Default is used in that case.
Parameters
styleThe style to set

References elm_obj_win_focus_highlight_style_set().

bool elm_win::fullscreen_get ( ) const
inline

Get the fullscreen state of a window.

Returns
If true, the window is fullscreen
Parameters
fullscreenIf true, the window is fullscreen

References elm_obj_win_fullscreen_get().

void elm_win::fullscreen_set ( bool  fullscreen_) const
inline

Get the fullscreen state of a window.

Returns
If true, the window is fullscreen
Parameters
fullscreenIf true, the window is fullscreen

References elm_obj_win_fullscreen_set().

std::string elm_win::icon_name_get ( ) const
inline

Get the icon name of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new icon name is set or if the window is destroyed.

Returns
The icon name
Parameters
icon_nameThe icon name to set

References elm_obj_win_icon_name_get().

void elm_win::icon_name_set ( std::string  icon_name_) const
inline

Get the icon name of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new icon name is set or if the window is destroyed.

Returns
The icon name
Parameters
icon_nameThe icon name to set

References elm_obj_win_icon_name_set().

const evas::object elm_win::icon_object_get ( ) const
inline

Get the icon object used for the window.

The object returns is the one marked by elm_win_icon_object_set() as the object to use for the window icon.

Returns
The icon object set
Parameters
iconThe Evas image object to use for an icon

References elm_obj_win_icon_object_get().

void elm_win::icon_object_set ( evas::object  icon_) const
inline

Get the icon object used for the window.

The object returns is the one marked by elm_win_icon_object_set() as the object to use for the window icon.

Returns
The icon object set
Parameters
iconThe Evas image object to use for an icon

References elm_obj_win_icon_object_set().

bool elm_win::iconified_get ( ) const
inline

Get the iconified state of a window.

Returns
If true, the window is iconified
Parameters
iconifiedIf true, the window is iconified

References elm_obj_win_iconified_get().

void elm_win::iconified_set ( bool  iconified_) const
inline

Get the iconified state of a window.

Returns
If true, the window is iconified
Parameters
iconifiedIf true, the window is iconified

References elm_obj_win_iconified_set().

void elm_win::illume_command_send ( Elm_Illume_Command  command_,
void *  params_ 
) const
inline

Send a command to the windowing environment.

This is intended to work in touchscreen or small screen device environments where there is a more simplistic window management policy in place. This uses the window object indicated to select which part of the environment to control (the part that this window lives in), and provides a command and an optional parameter structure (use NULL for this if not needed).

Parameters
commandThe command to send
paramsOptional parameters for the command

References elm_obj_win_illume_command_send().

Elm_Win_Indicator_Mode elm_win::indicator_mode_get ( ) const
inline

Get the indicator mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Mode
Parameters
modeThe mode to set, one of #Elm_Win_Indicator_Mode

References elm_obj_win_indicator_mode_get().

void elm_win::indicator_mode_set ( Elm_Win_Indicator_Mode  mode_) const
inline

Get the indicator mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Mode
Parameters
modeThe mode to set, one of #Elm_Win_Indicator_Mode

References elm_obj_win_indicator_mode_set().

Elm_Win_Indicator_Opacity_Mode elm_win::indicator_opacity_get ( ) const
inline

Get the indicator opacity mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Opacity_Mode
Parameters
modeThe mode to set, one of #Elm_Win_Indicator_Opacity_Mode

References elm_obj_win_indicator_opacity_get().

void elm_win::indicator_opacity_set ( Elm_Win_Indicator_Opacity_Mode  mode_) const
inline

Get the indicator opacity mode of the window.

Returns
The mode, one of #Elm_Win_Indicator_Opacity_Mode
Parameters
modeThe mode to set, one of #Elm_Win_Indicator_Opacity_Mode

References elm_obj_win_indicator_opacity_set().

evas::object elm_win::inlined_image_object_get ( ) const
inline

Get the inlined image object handle.

When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE, then the window is in fact an evas image object inlined in the parent canvas. You can get this object (be careful to not manipulate it as it is under control of elementary), and use it to do things like get pixel data, save the image to a file, etc.

Returns
The inlined image object, or NULL if none exists

References elm_obj_win_inlined_image_object_get().

Elm_Win_Keyboard_Mode elm_win::keyboard_mode_get ( ) const
inline

Get the keyboard mode of the window.

Returns
The mode, one of #Elm_Win_Keyboard_Mode
Parameters
modeThe mode to set, one of #Elm_Win_Keyboard_Mode

References elm_obj_win_keyboard_mode_get().

void elm_win::keyboard_mode_set ( Elm_Win_Keyboard_Mode  mode_) const
inline

Get the keyboard mode of the window.

Returns
The mode, one of #Elm_Win_Keyboard_Mode
Parameters
modeThe mode to set, one of #Elm_Win_Keyboard_Mode

References elm_obj_win_keyboard_mode_set().

bool elm_win::keyboard_win_get ( ) const
inline

Get whether the window is a keyboard.

Returns
If the window is a virtual keyboard
Parameters
is_keyboardIf true, the window is a virtual keyboard

References elm_obj_win_keyboard_win_get().

void elm_win::keyboard_win_set ( bool  is_keyboard_) const
inline

Get whether the window is a keyboard.

Returns
If the window is a virtual keyboard
Parameters
is_keyboardIf true, the window is a virtual keyboard

References elm_obj_win_keyboard_win_set().

int elm_win::layer_get ( ) const
inline

Get the layer of the window.

Returns
The layer of the window
See also
elm_win_layer_set()
Parameters
layerThe layer of the window

References elm_obj_win_layer_get().

void elm_win::layer_set ( int  layer_) const
inline

Get the layer of the window.

Returns
The layer of the window
See also
elm_win_layer_set()
Parameters
layerThe layer of the window

References elm_obj_win_layer_set().

void elm_win::lower ( ) const
inline

Lower a window object.

Places the window pointed by obj at the bottom of the stack, so that no other window is covered by it.

If elm_win_override_set() is not set, the Window Manager may ignore this request.

References elm_obj_win_lower().

evas::object elm_win::main_menu_get ( ) const
inline

Get the Main Menu of a window.

Returns
The Main Menu of the window (NULL if error).

References elm_obj_win_main_menu_get().

bool elm_win::maximized_get ( ) const
inline

Get the maximized state of a window.

Returns
If true, the window is maximized
Parameters
maximizedIf true, the window is maximized

References elm_obj_win_maximized_get().

void elm_win::maximized_set ( bool  maximized_) const
inline

Get the maximized state of a window.

Returns
If true, the window is maximized
Parameters
maximizedIf true, the window is maximized

References elm_obj_win_maximized_set().

bool elm_win::modal_get ( ) const
inline

Get the modal state of a window.

Returns
If true, the window is modal
Parameters
modalIf true, the window is modal

References elm_obj_win_modal_get().

void elm_win::modal_set ( bool  modal_) const
inline

Get the modal state of a window.

Returns
If true, the window is modal
Parameters
modalIf true, the window is modal

References elm_obj_win_modal_set().

bool elm_win::noblank_get ( ) const
inline

Get the noblank property of a window.

Returns
If true, the window has "noblank" set.
Since
1.11
Parameters
noblankIf true, the window is set to noblank

References elm_obj_win_noblank_get().

void elm_win::noblank_set ( bool  noblank_) const
inline

Get the noblank property of a window.

Returns
If true, the window has "noblank" set.
Since
1.11
Parameters
noblankIf true, the window is set to noblank

References elm_obj_win_noblank_set().

bool elm_win::override_get ( ) const
inline

Get the override state of a window.

Returns
If true, the window is overridden
See also
elm_win_override_set()
Parameters
overrideIf true, the window is overridden

References elm_obj_win_override_get().

void elm_win::override_set ( bool  override_) const
inline

Get the override state of a window.

Returns
If true, the window is overridden
See also
elm_win_override_set()
Parameters
overrideIf true, the window is overridden

References elm_obj_win_override_set().

std::string elm_win::profile_get ( ) const
inline

Get the profile of a window.

Returns
The string value of a window profile, or NULL if none exists
Since
1.8
Parameters
profileThe string value of a window profile

References elm_obj_win_profile_get().

void elm_win::profile_set ( std::string  profile_) const
inline

Get the profile of a window.

Returns
The string value of a window profile, or NULL if none exists
Since
1.8
Parameters
profileThe string value of a window profile

References elm_obj_win_profile_set().

bool elm_win::quickpanel_get ( ) const
inline

Get if this window is a quickpanel or not.

Returns
A boolean if this window is a quickpanel or not
Parameters
quickpanelThe quickpanel flag (1 = quickpanel, 0 = normal window)

References elm_obj_win_quickpanel_get().

int elm_win::quickpanel_priority_major_get ( ) const
inline

Get the major priority of a quickpanel window.

Returns
The major priority of this quickpanel
Parameters
priorityThe major priority for this quickpanel

References elm_obj_win_quickpanel_priority_major_get().

void elm_win::quickpanel_priority_major_set ( int  priority_) const
inline

Get the major priority of a quickpanel window.

Returns
The major priority of this quickpanel
Parameters
priorityThe major priority for this quickpanel

References elm_obj_win_quickpanel_priority_major_set().

int elm_win::quickpanel_priority_minor_get ( ) const
inline

Get the minor priority of a quickpanel window.

Returns
The minor priority of this quickpanel
Parameters
priorityThe minor priority for this quickpanel

References elm_obj_win_quickpanel_priority_minor_get().

void elm_win::quickpanel_priority_minor_set ( int  priority_) const
inline

Get the minor priority of a quickpanel window.

Returns
The minor priority of this quickpanel
Parameters
priorityThe minor priority for this quickpanel

References elm_obj_win_quickpanel_priority_minor_set().

void elm_win::quickpanel_set ( bool  quickpanel_) const
inline

Get if this window is a quickpanel or not.

Returns
A boolean if this window is a quickpanel or not
Parameters
quickpanelThe quickpanel flag (1 = quickpanel, 0 = normal window)

References elm_obj_win_quickpanel_set().

int elm_win::quickpanel_zone_get ( ) const
inline

Get which zone this quickpanel should appear in.

Returns
The requested zone for this quickpanel
Parameters
zoneThe requested zone for this quickpanel

References elm_obj_win_quickpanel_zone_get().

void elm_win::quickpanel_zone_set ( int  zone_) const
inline

Get which zone this quickpanel should appear in.

Returns
The requested zone for this quickpanel
Parameters
zoneThe requested zone for this quickpanel

References elm_obj_win_quickpanel_zone_set().

void elm_win::raise ( ) const
inline

Raise a window object.

Places the window pointed by obj at the top of the stack, so that it's not covered by any other window.

If elm_win_override_set() is not set, the Window Manager may ignore this request.

References elm_obj_win_raise().

void elm_win::resize_object_add ( evas::object  subobj_) const
inline

Add subobj as a resize object of window obj.

Setting an object as a resize object of the window means that the subobj child's size and position will be controlled by the window directly. That is, the object will be resized to match the window size and should never be moved or resized manually by the developer.

In addition, resize objects of the window control what the minimum size of it will be, as well as whether it can or not be resized by the user.

For the end user to be able to resize a window by dragging the handles or borders provided by the Window Manager, or using any other similar mechanism, all of the resize objects in the window should have their evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.

Also notice that the window can get resized to the current size of the object if the EVAS_HINT_EXPAND is set after the call to elm_win_resize_object_add(). So if the object should get resized to the size of the window, set this hint before adding it as a resize object (this happens because the size of the window and the object are evaluated as soon as the object is added to the window).

Parameters
subobjThe resize object to add

References elm_obj_win_resize_object_add().

void elm_win::resize_object_del ( evas::object  subobj_) const
inline

Delete subobj as a resize object of window obj.

This function removes the object subobj from the resize objects of the window obj. It will not delete the object itself, which will be left unmanaged and should be deleted by the developer, manually handled or set as child of some other container.

Parameters
subobjThe resize object to add

References elm_obj_win_resize_object_del().

std::string elm_win::role_get ( ) const
inline

Get the role of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new role is set or if the window is destroyed.

Returns
The role
Parameters
roleThe role to set

References elm_obj_win_role_get().

void elm_win::role_set ( std::string  role_) const
inline

Get the role of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new role is set or if the window is destroyed.

Returns
The role
Parameters
roleThe role to set

References elm_obj_win_role_set().

int elm_win::rotation_get ( ) const
inline

Get the rotation of the window.

Returns
The rotation of the window in degrees (0-360)
See also
elm_win_rotation_set()
elm_win_rotation_with_resize_set()
Parameters
rotationThe rotation of the window, in degrees (0-360), counter-clockwise.

References elm_obj_win_rotation_get().

void elm_win::rotation_set ( int  rotation_) const
inline

Get the rotation of the window.

Returns
The rotation of the window in degrees (0-360)
See also
elm_win_rotation_set()
elm_win_rotation_with_resize_set()
Parameters
rotationThe rotation of the window, in degrees (0-360), counter-clockwise.

References elm_obj_win_rotation_set().

bool elm_win::screen_constrain_get ( ) const
inline

Retrieve the constraints on the maximum width and height of a window relative to the width and height of its screen.

When this function returns true, obj will never resize larger than the screen.

Returns
EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction
Parameters
constrainEINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction

References elm_obj_win_screen_constrain_get().

void elm_win::screen_constrain_set ( bool  constrain_) const
inline

Retrieve the constraints on the maximum width and height of a window relative to the width and height of its screen.

When this function returns true, obj will never resize larger than the screen.

Returns
EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction
Parameters
constrainEINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction

References elm_obj_win_screen_constrain_set().

void elm_win::screen_dpi_get ( int *  xdpi_,
int *  ydpi_ 
) const
inline

Get screen dpi for the screen that a window is on.

Since
1.7
Parameters
xdpiPointer to value to store return horizontal dpi. May be NULL.
ydpiPointer to value to store return vertical dpi. May be NULL.

References elm_obj_win_screen_dpi_get().

void elm_win::screen_position_get ( int *  x_,
int *  y_ 
) const
inline

Get the screen position of a window.

Parameters
xThe int to store the x coordinate to
yThe int to store the y coordinate to

References elm_obj_win_screen_position_get().

void elm_win::screen_size_get ( int *  x_,
int *  y_,
int *  w_,
int *  h_ 
) const
inline

Get screen geometry details for the screen that a window is on.

Parameters
xwhere to return the horizontal offset value. May be NULL.
ywhere to return the vertical offset value. May be NULL.
wwhere to return the width value. May be NULL.
hwhere to return the height value. May be NULL.

References elm_obj_win_screen_size_get().

bool elm_win::shaped_get ( ) const
inline

Get the shaped state of a window.

Returns
If true, the window is shaped
See also
elm_win_shaped_set()
Parameters
shapedIf true, the window is shaped

References elm_obj_win_shaped_get().

void elm_win::shaped_set ( bool  shaped_) const
inline

Get the shaped state of a window.

Returns
If true, the window is shaped
See also
elm_win_shaped_set()
Parameters
shapedIf true, the window is shaped

References elm_obj_win_shaped_set().

void elm_win::size_base_get ( int *  w_,
int *  h_ 
) const
inline

Get the base size of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
wThe base width
hThe base height

References elm_obj_win_size_base_get().

void elm_win::size_base_set ( int  w_,
int  h_ 
) const
inline

Get the base size of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
wThe base width
hThe base height

References elm_obj_win_size_base_set().

void elm_win::size_step_get ( int *  w_,
int *  h_ 
) const
inline

Get the stepping of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
wThe stepping width (0 disables)
hThe stepping height (0 disables)

References elm_obj_win_size_step_get().

void elm_win::size_step_set ( int  w_,
int  h_ 
) const
inline

Get the stepping of a window.

See also
elm_win_size_base_set
elm_win_size_step_set
Since
1.7
Parameters
wThe stepping width (0 disables)
hThe stepping height (0 disables)

References elm_obj_win_size_step_set().

bool elm_win::socket_listen ( std::string  svcname_,
int  svcnum_,
bool  svcsys_ 
) const
inline

Create a socket to provide the service for Plug widget.

Returns
If socket creation is successful
Parameters
svcnameThe name of the service to be advertised. ensure that it is unique (when combined with svcnum) otherwise creation may fail.
svcnumA number (any value, 0 being the common default) to differentiate multiple instances of services with the same name.
svcsysA boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user id that created the service.

References elm_obj_win_socket_listen().

bool elm_win::sticky_get ( ) const
inline

Get the sticky state of the window.

Returns
If true, the window's sticky state is enabled
See also
elm_win_sticky_set()
Parameters
stickyIf true, the window's sticky state is enabled

References elm_obj_win_sticky_get().

void elm_win::sticky_set ( bool  sticky_) const
inline

Get the sticky state of the window.

Returns
If true, the window's sticky state is enabled
See also
elm_win_sticky_set()
Parameters
stickyIf true, the window's sticky state is enabled

References elm_obj_win_sticky_set().

std::string elm_win::title_get ( ) const
inline

Get the title of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new title is set or if the window is destroyed.

Returns
The title
Parameters
titleThe title to set

References elm_obj_win_title_get().

void elm_win::title_set ( std::string  title_) const
inline

Get the title of the window.

The returned string is an internal one and should not be freed or modified. It will also be invalid if a new title is set or if the window is destroyed.

Returns
The title
Parameters
titleThe title to set

References elm_obj_win_title_set().

Elm_Win_Type elm_win::type_get ( ) const
inline

Get the type of a window.

Returns
The type of a window object. If the object is not window object, return ELM_WIN_UNKNOWN.

References elm_obj_win_type_get().

bool elm_win::urgent_get ( ) const
inline

Get the urgent state of a window.

Returns
If true, the window is urgent
Parameters
urgentIf true, the window is urgent

References elm_obj_win_urgent_get().

void elm_win::urgent_set ( bool  urgent_) const
inline

Get the urgent state of a window.

Returns
If true, the window is urgent
Parameters
urgentIf true, the window is urgent

References elm_obj_win_urgent_set().

Ecore_Window elm_win::window_id_get ( ) const
inline

Get the Ecore_Window of an Evas_Object.

When Elementary is using a Wayland engine, this function will return the surface id of the elm window's surface.

Returns
The Ecore_Window of an Evas_Object
Since
1.8

References elm_obj_win_window_id_get().

bool elm_win::withdrawn_get ( ) const
inline

Get the withdrawn state of a window.

Returns
If true, the window is withdrawn
Parameters
withdrawnIf true, the window is withdrawn

References elm_obj_win_withdrawn_get().

void elm_win::withdrawn_set ( bool  withdrawn_) const
inline

Get the withdrawn state of a window.

Returns
If true, the window is withdrawn
Parameters
withdrawnIf true, the window is withdrawn

References elm_obj_win_withdrawn_set().

Ecore_Wl_Window* elm_win::wl_window_get ( ) const
inline

Get the Ecore_Wl_Window of an Evas_Object.

Returns
The Ecore_Wl_Window of obj

References elm_obj_win_wl_window_get().

bool elm_win::wm_rotation_supported_get ( ) const
inline

Query whether window manager supports window rotation or not.

The window manager rotation allows the WM to controls the rotation of application windows. It is designed to support synchronized rotation for the multiple application windows at same time.

Returns
EINA_TRUE if the window manager rotation is supported, EINA_FALSE otherwise.
See also
elm_win_wm_rotation_supported_get()
elm_win_wm_rotation_preferred_rotation_set()
elm_win_wm_rotation_preferred_rotation_get()
elm_win_wm_rotation_available_rotations_set()
elm_win_wm_rotation_available_rotations_get()
elm_win_wm_rotation_manual_rotation_done_set()
elm_win_wm_rotation_manual_rotation_done_get()
elm_win_wm_rotation_manual_rotation_done()
Since
1.9

References elm_obj_win_wm_rotation_supported_get().

Ecore_X_Window elm_win::xwindow_get ( ) const
inline

Get the Ecore_X_Window of an Evas_Object.

Returns
The Ecore_X_Window of obj

References elm_obj_win_xwindow_get().