Ecore_X.h

Langue: en

Autres versions - même langue

Version: 374215 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Ecore_X.h -

Ecore functions for dealing with the X Windows System.

SYNOPSIS


Enumerations


enum _Ecore_X_Window_State { , ECORE_X_WINDOW_STATE_ICONIFIED, ECORE_X_WINDOW_STATE_MODAL, ECORE_X_WINDOW_STATE_STICKY, ECORE_X_WINDOW_STATE_MAXIMIZED_VERT, ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ, ECORE_X_WINDOW_STATE_SHADED, ECORE_X_WINDOW_STATE_SKIP_TASKBAR, ECORE_X_WINDOW_STATE_SKIP_PAGER, ECORE_X_WINDOW_STATE_HIDDEN, ECORE_X_WINDOW_STATE_FULLSCREEN }

enum _Ecore_X_Window_State_Hint { ECORE_X_WINDOW_STATE_HINT_NONE = -1, ECORE_X_WINDOW_STATE_HINT_WITHDRAWN, ECORE_X_WINDOW_STATE_HINT_NORMAL, ECORE_X_WINDOW_STATE_HINT_ICONIC }

Functions


EAPI int ecore_x_init (const char *name)
Initialize the X display connection to the given display.
EAPI int ecore_x_shutdown (void)
Shuts down the Ecore X library.
EAPI int ecore_x_disconnect (void)
Shuts down the Ecore X library.
EAPI Ecore_X_Display * ecore_x_display_get (void)
Retrieves the Ecore_X_Display handle used for the current X connection.
EAPI Ecore_X_Connection * ecore_x_connection_get (void)
Retrieves the Ecore_X_Connection handle used for the current X connection.
EAPI int ecore_x_fd_get (void)
Retrieves the X display file descriptor.
EAPI Ecore_X_Screen * ecore_x_default_screen_get (void)
Retrieves the Ecore_X_Screen handle used for the current X connection.
EAPI void ecore_x_double_click_time_set (double t)
Sets the timeout for a double and triple clicks to be flagged.
EAPI double ecore_x_double_click_time_get (void)
Retrieves the double and triple click flag timeout.
EAPI void ecore_x_flush (void)
Sends all X commands in the X Display buffer.
EAPI void ecore_x_sync (void)
Flushes the command buffer and waits until all requests have been processed by the server.
EAPI void ecore_x_killall (Ecore_X_Window root)
Kill all clients with subwindows under a given window.
EAPI void ecore_x_kill (Ecore_X_Window win)
Kill a specific client.
EAPI int ecore_x_dpi_get (void)
Return the screen DPI.
EAPI Ecore_X_Time ecore_x_current_time_get (void)
Return the last event time.
EAPI void ecore_x_error_handler_set (void(*func)(void *data), const void *data)
Set the error handler.
EAPI void ecore_x_io_error_handler_set (void(*func)(void *data), const void *data)
Set the I/O error handler.
EAPI int ecore_x_error_request_get (void)
Get the request code that caused the error.
EAPI int ecore_x_error_code_get (void)
Get the error code from the error.
EAPI void ecore_x_selection_primary_prefetch (void)
Sends the GetSelectionOwner request.
EAPI void ecore_x_selection_primary_fetch (void)
Gets the reply of the GetSelectionOwner request sent by ecore_x_selection_primary_prefetch().
EAPI int ecore_x_selection_primary_set (Ecore_X_Window w, const void *data, int size)
Claim ownership of the PRIMARY selection and set its data.
EAPI int ecore_x_selection_primary_clear (void)
Release ownership of the primary selection.
EAPI void ecore_x_selection_secondary_prefetch (void)
Sends the GetSelectionOwner request.
EAPI void ecore_x_selection_secondary_fetch (void)
Gets the reply of the GetSelectionOwner request sent by ecore_x_selection_secondary_prefetch().
EAPI int ecore_x_selection_secondary_set (Ecore_X_Window w, const void *data, int size)
Claim ownership of the SECONDARY selection and set its data.
EAPI int ecore_x_selection_secondary_clear (void)
Release ownership of the secondary selection.
EAPI void ecore_x_selection_xdnd_prefetch (void)
Sends the GetSelectionOwner request.
EAPI void ecore_x_selection_xdnd_fetch (void)
Gets the reply of the GetSelectionOwner request sent by ecore_x_selection_xdnd_prefetch().
EAPI int ecore_x_selection_xdnd_set (Ecore_X_Window w, const void *data, int size)
Claim ownership of the XDND selection and set its data.
EAPI int ecore_x_selection_xdnd_clear (void)
Release ownership of the XDND selection.
EAPI void ecore_x_selection_clipboard_prefetch (void)
Sends the GetSelectionOwner request.
EAPI void ecore_x_selection_clipboard_fetch (void)
Gets the reply of the GetSelectionOwner request sent by ecore_x_selection_clipboard_prefetch().
EAPI int ecore_x_selection_clipboard_set (Ecore_X_Window w, const void *data, int size)
Claim ownership of the CLIPBOARD selection and set its data.
EAPI int ecore_x_selection_clipboard_clear (void)
Release ownership of the clipboard selection.
EAPI void ecore_x_dnd_version_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_dnd_version_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_dnd_version_get_prefetch().
EAPI int ecore_x_dnd_version_get (Ecore_X_Window win)
Get the DnD version.
EAPI void ecore_x_dnd_type_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_dnd_type_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_dnd_type_get_prefetch().
EAPI int ecore_x_dnd_type_isset (Ecore_X_Window win, const char *type)
Check if the type is set.
EAPI void ecore_x_dnd_type_set (Ecore_X_Window win, const char *type, int on)
Set the type.
EAPI void ecore_x_dnd_types_set (Ecore_X_Window win, const char **types, unsigned int num_types)
Set the types.
EAPI void ecore_x_dnd_begin_prefetch (Ecore_X_Window source)
Sends the GetProperty request.
EAPI void ecore_x_dnd_begin_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_dnd_begin_prefetch().
EAPI int ecore_x_dnd_begin (Ecore_X_Window source, unsigned char *data, int size)
Begins the DnD.
EAPI Ecore_X_Window ecore_x_window_new (Ecore_X_Window parent, int x, int y, int w, int h)
Creates a new window.
EAPI Ecore_X_Window ecore_x_window_override_new (Ecore_X_Window parent, int x, int y, int w, int h)
Creates a window with the override redirect attribute set to True.
EAPI Ecore_X_Window ecore_x_window_manager_argb_new (Ecore_X_Window parent, int x, int y, int w, int h)
Creates a new window.
EAPI Ecore_X_Window ecore_x_window_argb_new (Ecore_X_Window parent, int x, int y, int w, int h)
Creates a new window.
EAPI Ecore_X_Window ecore_x_window_override_argb_new (Ecore_X_Window parent, int x, int y, int w, int h)
Creates a window with the override redirect attribute set to True.
EAPI Ecore_X_Window ecore_x_window_input_new (Ecore_X_Window parent, int x, int y, int w, int h)
Creates a new input window.
EAPI void ecore_x_window_configure (Ecore_X_Window win, Ecore_X_Window_Configure_Mask mask, int x, int y, int w, int h, int border_width, Ecore_X_Window sibling, int stack_mode)
Configures the given window with the given mask.
EAPI void ecore_x_window_cursor_set (Ecore_X_Window win, Ecore_X_Cursor c)
Sets the cursor of the given window.
EAPI void ecore_x_window_free (Ecore_X_Window win)
Deletes the given window.
EAPI void ecore_x_window_ignore_set (Ecore_X_Window win, int ignore)
Set if a window should be ignored.
EAPI Ecore_X_Window * ecore_x_window_ignore_list (int *num)
Get the ignore list.
EAPI void ecore_x_window_delete_request_send (Ecore_X_Window win)
Sends a delete request to the given window.
EAPI void ecore_x_window_show (Ecore_X_Window win)
Shows a window.
EAPI void ecore_x_window_hide (Ecore_X_Window win)
Hides a window.
EAPI void ecore_x_window_move (Ecore_X_Window win, int x, int y)
Moves a window to the position x, y.
EAPI void ecore_x_window_resize (Ecore_X_Window win, int w, int h)
Resizes a window.
EAPI void ecore_x_window_move_resize (Ecore_X_Window win, int x, int y, int w, int h)
Moves and resizes a window.
EAPI void ecore_x_window_focus (Ecore_X_Window win)
Sets the focus to the window window.
EAPI void ecore_x_window_focus_at_time (Ecore_X_Window win, Ecore_X_Time t)
Sets the focus to the given window at a specific time.
EAPI void ecore_x_get_input_focus_prefetch (void)
Sends the GetInputFocus request.
EAPI void ecore_x_get_input_focus_fetch (void)
Gets the reply of the GetInputFocus request sent by ecore_x_get_input_focus_prefetch().
EAPI Ecore_X_Window ecore_x_window_focus_get (void)
Gets the window that has focus.
EAPI void ecore_x_window_raise (Ecore_X_Window win)
Raises the given window.
EAPI void ecore_x_window_lower (Ecore_X_Window win)
Lowers the given window.
EAPI void ecore_x_window_reparent (Ecore_X_Window win, Ecore_X_Window new_parent, int x, int y)
Moves a window to within another window at a given position.
EAPI void ecore_x_window_size_get (Ecore_X_Window win, int *w, int *h)
Retrieves the size of the given window.
EAPI void ecore_x_window_geometry_get (Ecore_X_Window win, int *x, int *y, int *w, int *h)
Retrieves the geometry of the given window.
EAPI int ecore_x_window_border_width_get (Ecore_X_Window win)
Retrieves the width of the border of the given window.
EAPI void ecore_x_window_border_width_set (Ecore_X_Window win, int width)
Sets the width of the border of the given window.
EAPI int ecore_x_window_depth_get (Ecore_X_Window win)
Retrieves the depth of the given window.
EAPI void ecore_x_window_cursor_show (Ecore_X_Window win, int show)
Shows the cursor of the given window.
EAPI void ecore_x_window_defaults_set (Ecore_X_Window win)
Sets the default properties for the given window.
EAPI int ecore_x_window_visible_get (Ecore_X_Window win)
Finds out whether the given window is currently visible.
EAPI Ecore_X_Window ecore_x_window_shadow_tree_at_xy_with_skip_get (Ecore_X_Window base, int x, int y, Ecore_X_Window *skip, int skip_num)
Retrieves the top, visible window at the given location, but skips the windows in the list.
EAPI Ecore_X_Window ecore_x_window_shadow_parent_get (Ecore_X_Window root, Ecore_X_Window win)
Retrieves the parent window a given window has.
EAPI void ecore_x_window_shadow_tree_flush (void)
Flushes the window shadow tree so nothing is stored.
EAPI Ecore_X_Window ecore_x_window_root_get (Ecore_X_Window win)
Retrieves the root window a given window is on.
EAPI Ecore_X_Window ecore_x_window_at_xy_get (int x, int y)
Retrieves the top, visible window at the given location.
EAPI Ecore_X_Window ecore_x_window_at_xy_with_skip_get (int x, int y, Ecore_X_Window *skip, int skip_num)
Retrieves the top, visible window at the given location, but skips the windows in the list.
EAPI Ecore_X_Window ecore_x_window_at_xy_begin_get (Ecore_X_Window begin, int x, int y)
Retrieves the top, visible window at the given location, but begins at the begin window instead of the root one.
EAPI void ecore_x_query_tree_prefetch (Ecore_X_Window window)
Sends the QueryTree request.
EAPI void ecore_x_query_tree_fetch (void)
Gets the reply of the QueryTree request sent by ecore_x_query_tree_prefetch().
EAPI Ecore_X_Window ecore_x_window_parent_get (Ecore_X_Window win)
Retrieves the parent window of the given window.
EAPI void ecore_x_window_background_color_set (Ecore_X_Window win, unsigned short r, unsigned short g, unsigned short b)
Sets the background color of the given window.
EAPI void ecore_x_window_gravity_set (Ecore_X_Window win, Ecore_X_Gravity grav)
Sets the gravity of the given window.
EAPI void ecore_x_window_pixel_gravity_set (Ecore_X_Window win, Ecore_X_Gravity grav)
Sets the bit gravity of the given window.
EAPI void ecore_x_window_pixmap_set (Ecore_X_Window win, Ecore_X_Pixmap pmap)
Sets the background pixmap of the given window.
EAPI void ecore_x_window_area_clear (Ecore_X_Window win, int x, int y, int w, int h)
Clears an area of the given window.
EAPI void ecore_x_window_area_expose (Ecore_X_Window win, int x, int y, int w, int h)
Exposes an area of the given window.
EAPI void ecore_x_window_override_set (Ecore_X_Window win, int override)
Sets the override attribute of the given window.
EAPI void ecore_x_window_prop_card32_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom)
Sends the GetProperty request.
EAPI void ecore_x_window_prop_card32_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_prop_card32_get_prefetch().
EAPI void ecore_x_window_prop_xid_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom, Ecore_X_Atom type)
Sends the GetProperty request.
EAPI void ecore_x_window_prop_xid_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_prop_xid_get_prefetch().
EAPI void ecore_x_window_prop_atom_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom)
Sends the GetProperty request.
EAPI void ecore_x_window_prop_atom_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_prop_atom_get_prefetch().
EAPI void ecore_x_window_prop_window_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom)
Sends the GetProperty request.
EAPI void ecore_x_window_prop_window_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_prop_window_get_prefetch().
EAPI Ecore_X_Atom ecore_x_window_prop_any_type (void)
To be documented.
EAPI void ecore_x_window_prop_property_set (Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Atom format, int size, void *data, int number)
To be documented.
EAPI void ecore_x_window_prop_property_get_prefetch (Ecore_X_Window window, Ecore_X_Atom property, Ecore_X_Atom type)
Sends the GetProperty request.
EAPI void ecore_x_window_prop_property_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_prop_property_get_prefetch().
EAPI int ecore_x_window_prop_property_get (Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size, unsigned char **data, int *num)
To be documented.
EAPI void ecore_x_window_prop_list_prefetch (Ecore_X_Window window)
Sends the ListProperties request.
EAPI void ecore_x_window_prop_list_fetch (void)
Gets the reply of the ListProperties request sent by ecore_x_window_prop_list_prefetch().
EAPI void ecore_x_window_prop_string_set (Ecore_X_Window win, Ecore_X_Atom type, const char *str)
Set a window string property.
EAPI void ecore_x_window_prop_string_get_prefetch (Ecore_X_Window window, Ecore_X_Atom type)
Sends the GetProperty request.
EAPI void ecore_x_window_prop_string_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_prop_string_get_prefetch().
EAPI char * ecore_x_window_prop_string_get (Ecore_X_Window win, Ecore_X_Atom type)
Get a window string property.
EAPI Ecore_X_WM_Protocol * ecore_x_window_prop_protocol_list_get (Ecore_X_Window win, int *num_ret)
To be documented.
EAPI void ecore_x_window_shape_mask_set (Ecore_X_Window win, Ecore_X_Pixmap mask)
Sets the shape of the given window to the given pixmap.
EAPI void ecore_x_window_shape_rectangle_set (Ecore_X_Window win, int x, int y, int w, int h)
Sets the shape of the given window to a rectangle.
EAPI void ecore_x_window_shape_rectangles_get_prefetch (Ecore_X_Window window)
Sends the ShapeGetRectangles request.
EAPI void ecore_x_window_shape_rectangles_get_fetch (void)
Gets the reply of the ShapeGetRectangles request sent by ecore_x_window_shape_rectangles_get_prefetch().
EAPI void ecore_x_window_shape_input_mask_set (Ecore_X_Window win, Ecore_X_Pixmap mask)
Sets the input shape of the given window to that given by the pixmap mask.
EAPI Ecore_X_Pixmap ecore_x_pixmap_new (Ecore_X_Window win, int w, int h, int dep)
Creates a new pixmap.
EAPI void ecore_x_pixmap_free (Ecore_X_Pixmap pmap)
Deletes the reference to the given pixmap.
EAPI void ecore_x_pixmap_paste (Ecore_X_Pixmap pmap, Ecore_X_Drawable dest, Ecore_X_GC gc, int sx, int sy, int w, int h, int dx, int dy)
Pastes a rectangular area of the given pixmap onto the given drawable.
EAPI void ecore_x_pixmap_geometry_get (Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h)
Retrieves the size of the given pixmap.
EAPI int ecore_x_pixmap_depth_get (Ecore_X_Pixmap pmap)
Retrieves the depth of the given pixmap.
EAPI Ecore_X_GC ecore_x_gc_new (Ecore_X_Drawable draw, Ecore_X_GC_Value_Mask value_mask, const unsigned int *value_list)
Creates a new default graphics context associated with the given drawable.
EAPI void ecore_x_gc_free (Ecore_X_GC gc)
Deletes and frees the given graphics context.
EAPI int ecore_x_client_message32_send (Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Event_Mask mask, long d0, long d1, long d2, long d3, long d4)
Send client message with given type and format 32.
EAPI int ecore_x_client_message8_send (Ecore_X_Window win, Ecore_X_Atom type, const void *data, int len)
Send client message with given type and format 8.
EAPI void ecore_x_drawable_geometry_get_prefetch (Ecore_X_Drawable drawable)
Sends the GetGeometry request.
EAPI void ecore_x_drawable_geometry_get_fetch (void)
Gets the reply of the GetGeometry request sent by ecore_x_atom_get_prefetch().
EAPI void ecore_x_drawable_geometry_get (Ecore_X_Drawable d, int *x, int *y, int *w, int *h)
Retrieves the geometry of the given drawable.
EAPI int ecore_x_drawable_border_width_get (Ecore_X_Drawable d)
Retrieves the width of the border of the given drawable.
EAPI int ecore_x_drawable_depth_get (Ecore_X_Drawable d)
Retrieves the depth of the given drawable.
EAPI void ecore_x_drawable_rectangle_fill (Ecore_X_Drawable d, Ecore_X_GC gc, int x, int y, int width, int height)
Fill the specified rectangle on a drawable.
EAPI Ecore_X_Window * ecore_x_window_root_list (int *num_ret)
Get a list of all the root windows on the server.
EAPI void ecore_x_window_container_manage (Ecore_X_Window win)
Todo.
EAPI void ecore_x_window_client_manage (Ecore_X_Window win)
Todo.
EAPI void ecore_x_window_sniff (Ecore_X_Window win)
Todo.
EAPI void ecore_x_window_client_sniff (Ecore_X_Window win)
Todo.
EAPI void ecore_x_atom_get_prefetch (const char *name)
Sends the InternAtom request.
EAPI void ecore_x_atom_get_fetch (void)
Gets the reply of the InternAtom request sent by ecore_x_atom_get_prefetch().
EAPI Ecore_X_Atom ecore_x_atom_get (const char *name)
Retrieves the atom value associated with the given name.
EAPI void ecore_x_get_atom_name_prefetch (Ecore_X_Atom atom)
Sends the GetAtomName request.
EAPI void ecore_x_get_atom_name_fetch (void)
Gets the reply of the GetAtomName request sent by ecore_x_get_atom_name_prefetch().
EAPI char * ecore_x_atom_name_get (Ecore_X_Atom atom)
Retrieves the name of the given atom.
EAPI void ecore_x_icccm_state_set (Ecore_X_Window win, Ecore_X_Window_State_Hint state)
Sets the state of a window.
EAPI void ecore_x_icccm_delete_window_send (Ecore_X_Window win, Ecore_X_Time t)
Sends the ClientMessage event with the DeleteWindow property.
EAPI void ecore_x_icccm_take_focus_send (Ecore_X_Window win, Ecore_X_Time t)
Sends the ClientMessage event with the TakeFocus property.
EAPI void ecore_x_icccm_save_yourself_send (Ecore_X_Window win, Ecore_X_Time t)
Sends the ClientMessage event with the SaveYourself property.
EAPI void ecore_x_icccm_move_resize_send (Ecore_X_Window win, int x, int y, int w, int h)
Sends the ConfigureNotify event with the StructureNotify property.
EAPI void ecore_x_icccm_hints_set (Ecore_X_Window win, int accepts_focus, Ecore_X_Window_State_Hint initial_state, Ecore_X_Pixmap icon_pixmap, Ecore_X_Pixmap icon_mask, Ecore_X_Window icon_window, Ecore_X_Window window_group, int is_urgent)
Sets the hints of a window.
EAPI void ecore_x_icccm_size_pos_hints_set (Ecore_X_Window win, int request_pos, Ecore_X_Gravity gravity, int min_w, int min_h, int max_w, int max_h, int base_w, int base_h, int step_x, int step_y, double min_aspect, double max_aspect)
Sets the hints of a window.
EAPI void ecore_x_icccm_title_set (Ecore_X_Window win, const char *t)
Set the title of a window.
EAPI void ecore_x_icccm_protocol_atoms_set (Ecore_X_Window win, Ecore_X_Atom *protos, int num)
Set protocol atoms explicitly.
EAPI void ecore_x_icccm_protocol_set (Ecore_X_Window win, Ecore_X_WM_Protocol protocol, int on)
Set or unset a wm protocol property.
EAPI int ecore_x_icccm_protocol_isset (Ecore_X_Window win, Ecore_X_WM_Protocol protocol)
Determines whether a protocol is set for a window.
EAPI void ecore_x_icccm_name_class_set (Ecore_X_Window win, const char *n, const char *c)
Set a window name & class.
EAPI void ecore_x_icccm_name_class_get (Ecore_X_Window win, char **n, char **c)
Get a window name & class.
EAPI char * ecore_x_icccm_client_machine_get (Ecore_X_Window win)
Get a window client machine string.
EAPI void ecore_x_icccm_command_set (Ecore_X_Window win, int argc, char **argv)
Sets the WM_COMMAND property for win.
EAPI void ecore_x_icccm_command_get (Ecore_X_Window win, int *argc, char ***argv)
Get the WM_COMMAND property for win.
EAPI char * ecore_x_icccm_icon_name_get (Ecore_X_Window win)
Get a window icon name.
EAPI void ecore_x_icccm_icon_name_set (Ecore_X_Window win, const char *t)
Set a window icon name.
EAPI void ecore_x_icccm_colormap_window_set (Ecore_X_Window win, Ecore_X_Window subwin)
Add a subwindow to the list of windows that need a different colormap installed.
EAPI void ecore_x_icccm_colormap_window_unset (Ecore_X_Window win, Ecore_X_Window subwin)
Remove a window from the list of colormap windows.
EAPI void ecore_x_icccm_transient_for_set (Ecore_X_Window win, Ecore_X_Window forwin)
Specify that a window is transient for another top-level window and should be handled accordingly.
EAPI void ecore_x_icccm_transient_for_unset (Ecore_X_Window win)
Remove the transient_for setting from a window.
EAPI Ecore_X_Window ecore_x_icccm_transient_for_get (Ecore_X_Window win)
Get the window this window is transient for, if any.
EAPI void ecore_x_icccm_window_role_set (Ecore_X_Window win, const char *role)
Set the window role hint.
EAPI char * ecore_x_icccm_window_role_get (Ecore_X_Window win)
Get the window role.
EAPI void ecore_x_icccm_client_leader_set (Ecore_X_Window win, Ecore_X_Window l)
Set the window's client leader.
EAPI Ecore_X_Window ecore_x_icccm_client_leader_get (Ecore_X_Window win)
Get the window's client leader.
EAPI void ecore_x_icccm_iconic_request_send (Ecore_X_Window win, Ecore_X_Window root)
Send the ClientMessage event with the ChangeState property.
EAPI void ecore_x_mwm_hints_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_mwm_hints_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_mwm_hints_get_prefetch().
EAPI void ecore_x_mwm_borderless_set (Ecore_X_Window win, int borderless)
Sets the borderless flag of a window using MWM.
EAPI void ecore_x_netwm_init (void)
Initialize the NetWM module.
EAPI void ecore_x_netwm_shutdown (void)
Shutdown the NetWM module.
EAPI void ecore_x_netwm_wm_identify (Ecore_X_Window root, Ecore_X_Window check, const char *wm_name)
Set the _NET_SUPPORTING_WM_CHECK property.
EAPI void ecore_x_netwm_supported_set (Ecore_X_Window root, Ecore_X_Atom *supported, int num)
Set the _NET_SUPPORTED property.
EAPI void ecore_x_netwm_supported_get_prefetch (Ecore_X_Window root)
Sends the GetProperty request.
EAPI void ecore_x_netwm_supported_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_supported_get_prefetch().
EAPI int ecore_x_netwm_supported_get (Ecore_X_Window root, Ecore_X_Atom **supported, int *num)
Get the hints supported by the Window Manager.
EAPI void ecore_x_netwm_desk_count_set (Ecore_X_Window root, unsigned int n_desks)
Set the _NET_NUMBER_OF_DESKTOPS property.
EAPI void ecore_x_netwm_desk_roots_set (Ecore_X_Window root, Ecore_X_Window *vroots, unsigned int n_desks)
Set the _NET_VIRTUAL_ROOTS property.
EAPI void ecore_x_netwm_desk_names_set (Ecore_X_Window root, const char **names, unsigned int n_desks)
Set the _NET_DESKTOP_NAMES property.
EAPI void ecore_x_netwm_desk_size_set (Ecore_X_Window root, unsigned int width, unsigned int height)
Set the _NET_DESKTOP_GEOMETRY property.
EAPI void ecore_x_netwm_desk_workareas_set (Ecore_X_Window root, unsigned int *areas, unsigned int n_desks)
Set the _NET_WORKAREA property.
EAPI void ecore_x_netwm_desk_current_set (Ecore_X_Window root, unsigned int desk)
Set the _NET_CURRENT_DESKTOP property.
EAPI void ecore_x_netwm_desk_viewports_set (Ecore_X_Window root, unsigned int *origins, unsigned int n_desks)
Set the _NET_DESKTOP_VIEWPORT property.
EAPI void ecore_x_netwm_desk_layout_set (Ecore_X_Window root, int orientation, int columns, int rows, int starting_corner)
Set the _NET_DESKTOP_LAYOUT property.
EAPI void ecore_x_netwm_showing_desktop_set (Ecore_X_Window root, int on)
Set the _NET_SHOWING_DESKTOP property.
EAPI void ecore_x_netwm_client_list_set (Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients)
Set the _NET_CLIENT_LIST property.
EAPI void ecore_x_netwm_client_list_stacking_set (Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients)
Set the _NET_CLIENT_LIST_STACKING property.
EAPI void ecore_x_netwm_client_active_set (Ecore_X_Window root, Ecore_X_Window win)
Set the _NET_ACTIVE_WINDOW property.
EAPI void ecore_x_netwm_name_set (Ecore_X_Window win, const char *name)
Set the _NET_WM_NAME property.
EAPI void ecore_x_netwm_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_name_get_prefetch().
EAPI int ecore_x_netwm_name_get (Ecore_X_Window win, char **name)
Get the title of a window.
EAPI void ecore_x_netwm_startup_id_set (Ecore_X_Window win, const char *id)
Set the _NET_STARTUP_ID property.
EAPI void ecore_x_netwm_startup_id_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_startup_id_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_startup_id_get_prefetch().
EAPI int ecore_x_netwm_startup_id_get (Ecore_X_Window win, char **id)
Get the startup ID name of a window.
EAPI void ecore_x_netwm_visible_name_set (Ecore_X_Window win, const char *name)
Set the _NET_WM_VISIBLE_NAME property.
EAPI void ecore_x_netwm_visible_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_visible_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_visible_name_get_prefetch().
EAPI int ecore_x_netwm_visible_name_get (Ecore_X_Window win, char **name)
Get the visible title of a window.
EAPI void ecore_x_netwm_icon_name_set (Ecore_X_Window win, const char *name)
Set the _NET_WM_ICON_NAME property.
EAPI void ecore_x_netwm_icon_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_icon_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_icon_name_get_prefetch().
EAPI int ecore_x_netwm_icon_name_get (Ecore_X_Window win, char **name)
Get the icon name of a window.
EAPI void ecore_x_netwm_visible_icon_name_set (Ecore_X_Window win, const char *name)
Set the _NET_WM_VISIBLE_ICON_NAME property.
EAPI void ecore_x_netwm_visible_icon_name_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_visible_icon_name_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_visible_icon_name_get_prefetch().
EAPI int ecore_x_netwm_visible_icon_name_get (Ecore_X_Window win, char **name)
Get the visible icon name of a window.
EAPI void ecore_x_netwm_desktop_set (Ecore_X_Window win, unsigned int desk)
Set the _NET_WM_DESKTOP property.
EAPI void ecore_x_netwm_desktop_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_desktop_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_desktop_get_prefetch().
EAPI int ecore_x_netwm_desktop_get (Ecore_X_Window win, unsigned int *desk)
Get the visible icon name of a window.
EAPI void ecore_x_netwm_strut_set (Ecore_X_Window win, int left, int right, int top, int bottom)
Set the _NET_WM_STRUT property.
EAPI void ecore_x_netwm_strut_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_strut_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_strut_get_prefetch().
EAPI int ecore_x_netwm_strut_get (Ecore_X_Window win, int *left, int *right, int *top, int *bottom)
Get the space at the edje of the screen.
EAPI void ecore_x_netwm_strut_partial_set (Ecore_X_Window win, int left, int right, int top, int bottom, int left_start_y, int left_end_y, int right_start_y, int right_end_y, int top_start_x, int top_end_x, int bottom_start_x, int bottom_end_x)
Set the _NET_WM_STRUT_PARTIAL property.
EAPI void ecore_x_netwm_strut_partial_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_strut_partial_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_strut_partial_get_prefetch().
EAPI int ecore_x_netwm_strut_partial_get (Ecore_X_Window win, int *left, int *right, int *top, int *bottom, int *left_start_y, int *left_end_y, int *right_start_y, int *right_end_y, int *top_start_x, int *top_end_x, int *bottom_start_x, int *bottom_end_x)
Get the space at the edje of the screen of a window.
EAPI void ecore_x_netwm_icons_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_icons_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_icons_get_prefetch().
EAPI int ecore_x_netwm_icons_get (Ecore_X_Window win, Ecore_X_Icon **icon, int *num)
Retrieve hte possible icons of a window.
EAPI void ecore_x_netwm_icon_geometry_set (Ecore_X_Window win, int x, int y, int width, int height)
Set the _NET_WM_ICON_GEOMETRY property.
EAPI void ecore_x_netwm_icon_geometry_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_icon_geometry_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_icon_geometry_get_prefetch().
EAPI int ecore_x_netwm_icon_geometry_get (Ecore_X_Window win, int *x, int *y, int *width, int *height)
Get the geometry of an icon.
EAPI void ecore_x_netwm_pid_set (Ecore_X_Window win, int pid)
Set the _NET_WM_PID property.
EAPI void ecore_x_netwm_pid_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_pid_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_pid_get_prefetch().
EAPI int ecore_x_netwm_pid_get (Ecore_X_Window win, int *pid)
Get the process ID of a client window.
EAPI void ecore_x_netwm_handled_icons_set (Ecore_X_Window win)
Set the _NET_WM_HANDLED_ICONS property.
EAPI void ecore_x_netwm_handled_icons_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_handled_icons_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_handled_icons_get_prefetch().
EAPI int ecore_x_netwm_handled_icons_get (Ecore_X_Window win)
Return wheter the Client handles icons or not.
EAPI void ecore_x_netwm_user_time_set (Ecore_X_Window win, unsigned int time)
Set the _NET_WM_USER_TIME property.
EAPI void ecore_x_netwm_user_time_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_user_time_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_user_time_get_prefetch().
EAPI int ecore_x_netwm_user_time_get (Ecore_X_Window win, unsigned int *time)
Get the last user activity time in the window.
EAPI void ecore_x_netwm_window_state_set (Ecore_X_Window win, Ecore_X_Window_State *state, unsigned int num)
Set the _NET_WM_STATE property.
EAPI void ecore_x_netwm_window_state_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_window_state_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_state_get_prefetch().
EAPI int ecore_x_netwm_window_state_get (Ecore_X_Window win, Ecore_X_Window_State **state, unsigned int *num)
Get the hints describing the window state.
EAPI void ecore_x_netwm_window_type_set (Ecore_X_Window win, Ecore_X_Window_Type type)
Set the _NET_WM_WINDOW_TYPE property.
EAPI void ecore_x_netwm_window_type_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_window_type_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_window_type_get_prefetch().
EAPI int ecore_x_netwm_window_type_get (Ecore_X_Window win, Ecore_X_Window_Type *type)
Get the functional type of a window.
EAPI int ecore_x_netwm_allowed_action_isset (Ecore_X_Window win, Ecore_X_Action action)
Check whether an action is supported by a window.
EAPI void ecore_x_netwm_allowed_action_set (Ecore_X_Window win, Ecore_X_Action *action, unsigned int num)
Set the _NET_WM_ALLOWED_ACTIONS property.
EAPI void ecore_x_netwm_allowed_action_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_allowed_action_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_allowed_action_get_prefetch().
EAPI int ecore_x_netwm_allowed_action_get (Ecore_X_Window win, Ecore_X_Action **action, unsigned int *num)
Get the allowed actions supported by a window.
EAPI void ecore_x_netwm_opacity_set (Ecore_X_Window win, unsigned int opacity)
Set the _NET_WM_WINDOW_OPACITY property.
EAPI void ecore_x_netwm_opacity_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_opacity_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_opacity_get_prefetch().
EAPI int ecore_x_netwm_opacity_get (Ecore_X_Window win, unsigned int *opacity)
Get the opacity value of a window.
EAPI void ecore_x_netwm_frame_size_set (Ecore_X_Window win, int fl, int fr, int ft, int fb)
Set the _NET_FRAME_EXTENTS property.
EAPI void ecore_x_netwm_frame_size_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_frame_size_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_frame_size_get_prefetch().
EAPI int ecore_x_netwm_frame_size_get (Ecore_X_Window win, int *fl, int *fr, int *ft, int *fb)
Get the frame extent of a window.
EAPI void ecore_x_netwm_sync_counter_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_netwm_sync_counter_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_netwm_sync_counter_get_prefetch().
EAPI int ecore_x_netwm_sync_counter_get (Ecore_X_Window win, Ecore_X_Sync_Counter *counter)
Get the X ID of a X Sync counter.
EAPI void ecore_x_netwm_ping_send (Ecore_X_Window win)
Send a _NET_WM_PING property event.
EAPI void ecore_x_netwm_sync_request_send (Ecore_X_Window win, unsigned int serial)
Send a _NET_WM_SYNC_REQUEST property event.
EAPI void ecore_x_netwm_state_request_send (Ecore_X_Window win, Ecore_X_Window root, Ecore_X_Window_State s1, Ecore_X_Window_State s2, int set)
Send a _NET_WM_STATE property event.
EAPI void ecore_x_netwm_desktop_request_send (Ecore_X_Window win, Ecore_X_Window root, unsigned int desktop)
Send a _NET_WM_DESKTOP property event.
EAPI Ecore_X_Sync_Alarm ecore_x_sync_alarm_new (Ecore_X_Sync_Counter counter)
Create a new alarm.
EAPI int ecore_x_sync_alarm_free (Ecore_X_Sync_Alarm alarm)
Delete an alarm.
EAPI void ecore_x_xinerama_query_screens_prefetch (void)
Sends the XineramaQueryScreens request.
EAPI void ecore_x_xinerama_query_screens_fetch (void)
Gets the reply of the XineramaQueryScreens request sent by ecore_x_xinerama_query_screens_prefetch().
EAPI int ecore_x_xinerama_screen_count_get (void)
Return the number of screens.
EAPI int ecore_x_xinerama_screen_geometry_get (int screen, int *x, int *y, int *w, int *h)
Get the geometry of the screen.
EAPI int ecore_x_screensaver_event_available_get (void)
Return whether the X server supports the ScreenSaver Extension.
EAPI void ecore_x_screensaver_idle_time_prefetch (void)
Sends the QueryInfo request.
EAPI void ecore_x_screensaver_idle_time_fetch (void)
Gets the reply of the QueryInfo request sent by ecore_x_get_screensaver_prefetch().
EAPI int ecore_x_screensaver_idle_time_get (void)
Get the number of seconds since the last input was received.
EAPI void ecore_x_get_screensaver_prefetch (void)
Sends the GetScreenSaver request.
EAPI void ecore_x_get_screensaver_fetch (void)
Gets the reply of the GetScreenSaver request sent by ecore_x_get_screensaver_prefetch().
EAPI void ecore_x_screensaver_set (int timeout, int interval, int prefer_blanking, int allow_exposures)
Set the parameters of the screen saver.
EAPI void ecore_x_screensaver_timeout_set (int timeout)
Set the timeout of the screen saver.
EAPI int ecore_x_screensaver_timeout_get (void)
Get the timeout of the screen saver.
EAPI void ecore_x_screensaver_blank_set (int timeout)
Set the screen blanking.
EAPI int ecore_x_screensaver_blank_get (void)
Get the screen blanking.
EAPI void ecore_x_screensaver_expose_set (int timeout)
Set the screen save control values.
EAPI int ecore_x_screensaver_expose_get (void)
Get the screen save control values.
EAPI void ecore_x_screensaver_interval_set (int timeout)
Set the interval of the screen saver.
EAPI int ecore_x_screensaver_interval_get (void)
Get the interval of the screen saver.
EAPI void ecore_x_screensaver_event_listen_set (int on)
Specifies if the Screen Saver NotifyMask event should be generated.
EAPI void ecore_x_get_window_attributes_prefetch (Ecore_X_Window window)
Sends the GetWindowAttributes request.
EAPI void ecore_x_get_window_attributes_fetch (void)
Gets the reply of the GetWindowAttributes request sent by ecore_x_get_window_attributes_prefetch().
EAPI void ecore_x_window_save_set_add (Ecore_X_Window win)
Inserts the window in the client's save-set.
EAPI void ecore_x_window_save_set_del (Ecore_X_Window win)
Deletes the window from the client's save-set.
EAPI void ecore_x_pointer_xy_get_prefetch (Ecore_X_Window window)
Sends the QueryPointer request.
EAPI void ecore_x_pointer_xy_get_fetch (void)
Gets the reply of the QueryPointer request sent by ecore_x_query_pointer_prefetch().
EAPI int ecore_x_randr_query (void)
Return whether the X server supports the RandR Extension.
EAPI int ecore_x_randr_events_select (Ecore_X_Window win, int on)
Select if the ScreenChangeNotify events will be sent.
EAPI void ecore_x_randr_get_screen_info_prefetch (Ecore_X_Window window)
Sends the GetScreenInfo request.
EAPI void ecore_x_randr_get_screen_info_fetch (void)
Gets the reply of the GetScreenInfo request sent by ecore_x_randr_get_screen_info_prefetch().
EAPI Ecore_X_Randr_Rotation ecore_x_randr_screen_rotations_get (Ecore_X_Window root)
Get the set of rotations and reflections.
EAPI Ecore_X_Randr_Rotation ecore_x_randr_screen_rotation_get (Ecore_X_Window root)
Get the rotation.
EAPI void ecore_x_randr_screen_rotation_set (Ecore_X_Window root, Ecore_X_Randr_Rotation rot)
Set the screen rotation.
EAPI Ecore_X_Screen_Size * ecore_x_randr_screen_sizes_get (Ecore_X_Window root, int *num)
Get the frame buffer sizes.
EAPI Ecore_X_Screen_Size ecore_x_randr_current_screen_size_get (Ecore_X_Window root)
Get the current frame buffer size.
EAPI int ecore_x_randr_screen_size_set (Ecore_X_Window root, Ecore_X_Screen_Size size)
Set the screen size.
EAPI Ecore_X_Screen_Refresh_Rate * ecore_x_randr_screen_refresh_rates_get (Ecore_X_Window root, int size_id, int *num)
Get the refresh rates.
EAPI Ecore_X_Screen_Refresh_Rate ecore_x_randr_current_screen_refresh_rate_get (Ecore_X_Window root)
Get the current refresh rate.
EAPI int ecore_x_randr_screen_refresh_rate_set (Ecore_X_Window root, Ecore_X_Screen_Size size, Ecore_X_Screen_Refresh_Rate rate)
Set the screen refresh rate.
EAPI Ecore_X_Region ecore_x_region_new (Ecore_X_Rectangle *rects, int num)
Create a region from rectangles.
EAPI Ecore_X_Region ecore_x_region_new_from_bitmap (Ecore_X_Pixmap bitmap)
Create a region from a pixmap.
EAPI Ecore_X_Region ecore_x_region_new_from_window (Ecore_X_Window win, Ecore_X_Region_Type type)
Create a region from a window.
EAPI Ecore_X_Region ecore_x_region_new_from_gc (Ecore_X_GC gc)
Create a region from a graphic context.
EAPI Ecore_X_Region ecore_x_region_new_from_picture (Ecore_X_Picture picture)
Create a region from a picture.
EAPI void ecore_x_region_free (Ecore_X_Region region)
Destroy a region.
EAPI void ecore_x_region_set (Ecore_X_Region region, Ecore_X_Rectangle *rects, int num)
Set the content of a region.
EAPI void ecore_x_region_copy (Ecore_X_Region dest, Ecore_X_Region source)
Copy the content of a region.
EAPI void ecore_x_region_combine (Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2)
Make the union of two regions.
EAPI void ecore_x_region_intersect (Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2)
Make the intersection of two regions.
EAPI void ecore_x_region_subtract (Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2)
Make the substraction of two regions.
EAPI void ecore_x_region_invert (Ecore_X_Region dest, Ecore_X_Rectangle *bounds, Ecore_X_Region source)
Make the substraction of regions by bounds.
EAPI void ecore_x_region_translate (Ecore_X_Region region, int dx, int dy)
Translate a region.
EAPI void ecore_x_region_extents (Ecore_X_Region dest, Ecore_X_Region source)
Extent a region.
EAPI void ecore_x_region_fetch_prefetch (Ecore_X_Region region)
Sends the XFixesFetchRegion request.
EAPI void ecore_x_region_fetch_fetch (void)
Gets the reply of the XFixesFetchRegion request sent by ecore_xcb_region_fetch_prefetch().
EAPI Ecore_X_Rectangle * ecore_x_region_fetch (Ecore_X_Region region, int *num, Ecore_X_Rectangle *bounds)
Return the rectangles that compose a region.
EAPI void ecore_x_region_expand (Ecore_X_Region dest, Ecore_X_Region source, unsigned int left, unsigned int right, unsigned int top, unsigned int bottom)
Expand a region.
EAPI void ecore_x_region_gc_clip_set (Ecore_X_Region region, Ecore_X_GC gc, int x_origin, int y_origin)
Change clip-mask in a graphic context to the specified region.
EAPI void ecore_x_region_window_shape_set (Ecore_X_Region region, Ecore_X_Window win, Ecore_X_Shape_Type type, int x_offset, int y_offset)
Change the shape extension of a window.
EAPI void ecore_x_region_picture_clip_set (Ecore_X_Region region, Ecore_X_Picture picture, int x_origin, int y_origin)
Change clip-mask in picture to the specified region.
EAPI int ecore_x_composite_query (void)
Return whether the Composite Extension is available.
EAPI int ecore_x_damage_query (void)
Return whether the Damage Extension is available.
EAPI Ecore_X_Damage ecore_x_damage_new (Ecore_X_Drawable d, Ecore_X_Damage_Report_Level level)
Creates a damage object.
EAPI void ecore_x_damage_free (Ecore_X_Damage damage)
Destroys a damage object.
EAPI void ecore_x_damage_subtract (Ecore_X_Damage damage, Ecore_X_Region repair, Ecore_X_Region parts)
Synchronously modifies the region.
EAPI int ecore_x_screen_is_composited (int screen)
Check whether a screen is composited or not.
EAPI int ecore_x_dpms_query (void)
Checks if the X DPMS extension is available on the server.
EAPI void ecore_x_dpms_capable_get_prefetch (void)
Sends the DPMSCapable request.
EAPI void ecore_x_dpms_capable_get_fetch (void)
Gets the reply of the DPMSCapable request sent by ecore_x_dpms_capable_get_prefetch().
EAPI int ecore_x_dpms_capable_get (void)
Checks if the X server is capable of DPMS.
EAPI void ecore_x_dpms_enable_get_prefetch (void)
Sends the DPMSInfo request.
EAPI void ecore_x_dpms_enable_get_fetch (void)
Gets the reply of the DPMSInfo request sent by ecore_x_dpms_enable_get_prefetch().
EAPI int ecore_x_dpms_enabled_get (void)
Checks the DPMS state of the display.
EAPI void ecore_x_dpms_enabled_set (int enabled)
Sets the DPMS state of the display.
EAPI void ecore_x_dpms_timeouts_get_prefetch (void)
Sends the DPMSGetTimeouts request.
EAPI void ecore_x_dpms_timeouts_get_fetch (void)
Gets the reply of the DPMSGetTimeouts request sent by ecore_x_dpms_timeouts_get_prefetch().
EAPI void ecore_x_dpms_timeouts_get (unsigned int *standby, unsigned int *suspend, unsigned int *off)
Gets the timeouts.
EAPI int ecore_x_dpms_timeouts_set (unsigned int standby, unsigned int suspend, unsigned int off)
Sets the timeouts.
EAPI unsigned int ecore_x_dpms_timeout_standby_get (void)
Returns the amount of time of inactivity before standby mode is invoked.
EAPI unsigned int ecore_x_dpms_timeout_suspend_get (void)
Returns the amount of time of inactivity before the second level of power saving is invoked.
EAPI unsigned int ecore_x_dpms_timeout_off_get (void)
Returns the amount of time of inactivity before the third and final level of power saving is invoked.
EAPI void ecore_x_dpms_timeout_standby_set (unsigned int new_timeout)
Sets the standby timeout (in unit of seconds).
EAPI void ecore_x_dpms_timeout_suspend_set (unsigned int new_timeout)
Sets the suspend timeout (in unit of seconds).
EAPI void ecore_x_dpms_timeout_off_set (unsigned int new_timeout)
Sets the off timeout (in unit of seconds).

Variables


EAPI int ECORE_X_EVENT_ANY
low level event dependent on backend in use, if Xlib will be XEvent, if XCB will be xcb_generic_event_t.

Detailed Description

Ecore functions for dealing with the X Windows System.

Ecore_X provides a wrapper and convenience functions for using the X Windows System. Function groups for this part of the library include the following:

*
X Library Init and Shutdown Functions
*
X Display Attributes
*
X Synchronization Functions

Enumeration Type Documentation

enum _Ecore_X_Window_State

Enumerator:

ECORE_X_WINDOW_STATE_ICONIFIED
The window is iconified.
ECORE_X_WINDOW_STATE_MODAL
The window is a modal dialog box.
ECORE_X_WINDOW_STATE_STICKY
The window manager should keep the window's position fixed even if the virtual desktop scrolls.
ECORE_X_WINDOW_STATE_MAXIMIZED_VERT
The window has the maximum vertical size.
ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ
The window has the maximum horizontal size.
ECORE_X_WINDOW_STATE_SHADED
The window is shaded.
ECORE_X_WINDOW_STATE_SKIP_TASKBAR
The window should not be included in the taskbar.
ECORE_X_WINDOW_STATE_SKIP_PAGER
The window should not be included in the pager.
ECORE_X_WINDOW_STATE_HIDDEN
The window is invisible (i.e. minimized/iconified)
ECORE_X_WINDOW_STATE_FULLSCREEN
The window should fill the entire screen and have no window border/decorations.

enum _Ecore_X_Window_State_Hint

Enumerator:

ECORE_X_WINDOW_STATE_HINT_NONE
Do not provide any state hint to the window manager.
ECORE_X_WINDOW_STATE_HINT_WITHDRAWN
The window wants to remain hidden and NOT iconified.
ECORE_X_WINDOW_STATE_HINT_NORMAL
The window wants to be mapped normally.
ECORE_X_WINDOW_STATE_HINT_ICONIC
The window wants to start in an iconified state.

Function Documentation

EAPI Ecore_X_Atom ecore_x_atom_get (const char * name)

Retrieves the atom value associated with the given name. Parameters:

name The given name.

Returns:

Associated atom value.

References ecore_x_atom_get().

Referenced by ecore_x_atom_get(), and ecore_x_dnd_type_set().

EAPI int ecore_x_client_message32_send (Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Event_Mask mask, long d0, long d1, long d2, long d3, long d4)

Send client message with given type and format 32. Parameters:

window The window the message is sent to.
type The client message type.
mask The client message mask.
d0 The client message data item 1
d1 The client message data item 2
d2 The client message data item 3
d3 The client message data item 4
d4 The client message data item 5

Returns:

!0 on success.

Parameters:

win The window the message is sent to.
type The client message type.
d0 The client message data item 1
d1 The client message data item 2
d2 The client message data item 3
d3 The client message data item 4
d4 The client message data item 5

Returns:

!0 on success.

References ecore_x_client_message32_send().

Referenced by ecore_x_client_message32_send(), ecore_x_icccm_delete_window_send(), ecore_x_icccm_save_yourself_send(), and ecore_x_icccm_take_focus_send().

EAPI int ecore_x_client_message8_send (Ecore_X_Window win, Ecore_X_Atom type, const void * data, int len)

Send client message with given type and format 8. Parameters:

window The window the message is sent to.
type The client message type.
data Data to be sent.
len Number of data bytes, max 20.

Returns:

!0 on success.

Parameters:

win The window the message is sent to.
type The client message type.
data Data to be sent.
len Number of data bytes, max 20.

Returns:

!0 on success.

References ecore_x_client_message8_send().

Referenced by ecore_x_client_message8_send().

EAPI int ecore_x_dnd_begin (Ecore_X_Window source, unsigned char * data, int size)

Begins the DnD. Parameters:

source Unused.
data The data.
size The size of the data.

Returns:

0 on failure, 1 otherwise.

Begins the DnD. Returns 0 on failure, 1 otherwise.

To use this function, you must call before, and in order, ecore_x_dnd_begin_prefetch(), which sends the GetProperty request, then ecore_x_dnd_begin_fetch(), which gets the reply.

References ecore_x_dnd_begin(), ecore_x_dnd_version_get(), ecore_x_selection_xdnd_fetch(), ecore_x_selection_xdnd_prefetch(), ecore_x_selection_xdnd_set(), and ecore_x_window_ignore_set().

Referenced by ecore_x_dnd_begin().

EAPI void ecore_x_dnd_begin_prefetch (Ecore_X_Window source)

Sends the GetProperty request. Parameters:

source Window whose properties are requested.

References ecore_x_dnd_begin_prefetch().

Referenced by ecore_x_dnd_begin_prefetch().

EAPI void ecore_x_dnd_type_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.

References ecore_x_dnd_type_get_prefetch().

Referenced by ecore_x_dnd_type_get_prefetch().

EAPI int ecore_x_dnd_type_isset (Ecore_X_Window window, const char * type)

Check if the type is set. Parameters:

window Unused.
type The type to check

Returns:

0 on failure, 1 otherwise.

Check if the type is set. 0 on failure, 1 otherwise.

To use this function, you must call before, and in order, ecore_x_dnd_type_get_prefetch(), which sends the GetProperty request, then ecore_x_dnd_type_get_fetch(), which gets the reply.

References ecore_x_dnd_type_isset(), and ecore_x_window_prop_property_get().

Referenced by ecore_x_dnd_type_isset(), and ecore_x_dnd_type_set().

EAPI void ecore_x_dnd_type_set (Ecore_X_Window window, const char * type, int on)

Set the type. Parameters:

window Unused.
type The type to set
on 0 or non 0...

Set the type.

To use this function, you must call before, and in order, ecore_x_dnd_type_get_prefetch(), which sends the GetProperty request, then ecore_x_dnd_type_get_fetch(), which gets the reply.

References ecore_x_atom_get(), ecore_x_dnd_type_isset(), ecore_x_dnd_type_set(), ecore_x_window_prop_property_get(), and ecore_x_window_prop_property_set().

Referenced by ecore_x_dnd_type_set().

EAPI void ecore_x_dnd_types_set (Ecore_X_Window window, const char ** types, unsigned int num_types)

Set the types. Parameters:

window Unused.
types The types to set
num_types The number of types

Set the types.

To use this function, you must call before, and in order, ecore_x_dnd_type_get_prefetch(), which sends the GetProperty request, then ecore_x_dnd_type_get_fetch(), which gets the reply.

References ecore_x_dnd_types_set(), and ecore_x_window_prop_property_set().

Referenced by ecore_x_dnd_types_set().

EAPI int ecore_x_dnd_version_get (Ecore_X_Window window)

Get the DnD version. Parameters:

window Unused.

Returns:

0 on failure, the version otherwise.

Get the DnD version. Returns 0 on failure, the version otherwise.

To use this function, you must call before, and in order, ecore_x_dnd_version_get_prefetch(), which sends the GetProperty request, then ecore_x_dnd_version_get_fetch(), which gets the reply.

References ecore_x_dnd_version_get(), and ecore_x_window_prop_property_get().

Referenced by ecore_x_dnd_begin(), and ecore_x_dnd_version_get().

EAPI void ecore_x_dnd_version_get_prefetch (Ecore_X_Window window)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.

References ecore_x_dnd_version_get_prefetch().

Referenced by ecore_x_dnd_version_get_prefetch().

EAPI int ecore_x_dpi_get (void)

Return the screen DPI. This is a simplistic call to get DPI. It does not account for differing DPI in the x amd y axes nor does it accoutn for multihead or xinerama and xrander where different parts of the screen may have differen DPI etc.

Returns:

the general screen DPI (dots/pixels per inch).

References ecore_x_dpi_get().

Referenced by ecore_x_dpi_get().

EAPI void ecore_x_drawable_rectangle_fill (Ecore_X_Drawable d, Ecore_X_GC gc, int x, int y, int width, int height)

Fill the specified rectangle on a drawable. Parameters:

d The given drawable.
gc The graphic context that controls the fill rules.
x The X coordinate of the top-left corner of the rectangle.
y The Y coordinate of the top-left corner of the rectangle.
width The width of the rectangle.
height The height of the rectangle.

References ecore_x_drawable_rectangle_fill().

Referenced by ecore_x_drawable_rectangle_fill().

EAPI int ecore_x_error_code_get (void)

Get the error code from the error. Returns:

The error code from the X error

Return the error code from the last X error

References ecore_x_error_code_get().

Referenced by ecore_x_error_code_get().

EAPI void ecore_x_error_handler_set (void(*)(void *data) func, const void * data)

Set the error handler. Parameters:

func The error handler function
data The data to be passed to the handler function

Set the X error handler function

References ecore_x_error_handler_set().

Referenced by ecore_x_error_handler_set().

EAPI int ecore_x_error_request_get (void)

Get the request code that caused the error. Returns:

The request code causing the X error

Return the X request code that caused the last X error

References ecore_x_error_request_get().

Referenced by ecore_x_error_request_get().

EAPI void ecore_x_gc_free (Ecore_X_GC gc)

Deletes and frees the given graphics context. Parameters:

gc The given graphics context.

Destroyes the graphic context gc as well as the associated storage.

Parameters:

gc The given graphics context.

References ecore_x_gc_free().

Referenced by ecore_x_gc_free().

EAPI Ecore_X_GC ecore_x_gc_new (Ecore_X_Drawable draw, Ecore_X_GC_Value_Mask value_mask, const unsigned int * value_list)

Creates a new default graphics context associated with the given drawable. Parameters:

drawable Drawable to create graphics context with. If 0 is given instead, the default root window is used.
value_mask Bitmask values.
value_list List of values. The order of values must be the same than the corresponding bitmaks.

Returns:

The new default graphics context.

Creates a new default graphics context associated with drawable. The graphic context can be used with any destination drawable having the same root and depth as drawable. Use with other drawables results in a BadMatch error.

Parameters:

draw Drawable to create graphics context with. If 0 is given instead, the default root window is used.
value_mask Bitmask values.
value_list List of values. The order of values must be the same than the corresponding bitmaks.

Returns:

The new default graphics context.

References ecore_x_gc_new().

Referenced by ecore_x_gc_new().

EAPI void ecore_x_icccm_command_get (Ecore_X_Window win, int * argc, char *** argv)

Get the WM_COMMAND property for win. Return the command of a window. String must be free'd when done with.

Parameters:

win The window.
argc Number of arguments.
argv Arguments.

References ecore_x_icccm_command_get().

Referenced by ecore_x_icccm_command_get().

EAPI char* ecore_x_icccm_icon_name_get (Ecore_X_Window win)

Get a window icon name. Parameters:

win The window

Returns:

The windows icon name string

Return the icon name of a window. String must be free'd when done with.

References ecore_x_icccm_icon_name_get().

Referenced by ecore_x_icccm_icon_name_get().

EAPI void ecore_x_icccm_name_class_get (Ecore_X_Window win, char ** n, char ** c)

Get a window name & class. Parameters:

win The window
n The name string
c The class string

Get a window name * class

References ecore_x_icccm_name_class_get().

Referenced by ecore_x_icccm_name_class_get().

EAPI void ecore_x_icccm_protocol_atoms_set (Ecore_X_Window win, Ecore_X_Atom * protos, int num)

Set protocol atoms explicitly. Parameters:

win The Window
protos An array of protocol atoms
num the number of members of the array

References ecore_x_icccm_protocol_atoms_set().

Referenced by ecore_x_icccm_protocol_atoms_set().

EAPI int ecore_x_icccm_protocol_isset (Ecore_X_Window win, Ecore_X_WM_Protocol protocol)

Determines whether a protocol is set for a window. Parameters:

win The Window
protocol The protocol to query

Returns:

1 if the protocol is set, else 0.

References ecore_x_icccm_protocol_isset().

Referenced by ecore_x_icccm_protocol_isset().

EAPI Ecore_X_Window ecore_x_icccm_transient_for_get (Ecore_X_Window win)

Get the window this window is transient for, if any. Parameters:

win The window to check

Returns:

The window ID of the top-level window, or 0 if the property does not exist.

References ecore_x_icccm_transient_for_get().

Referenced by ecore_x_icccm_transient_for_get().

EAPI void ecore_x_io_error_handler_set (void(*)(void *data) func, const void * data)

Set the I/O error handler. Parameters:

func The I/O error handler function
data The data to be passed to the handler function

Set the X I/O error handler function

References ecore_x_io_error_handler_set().

Referenced by ecore_x_io_error_handler_set().

EAPI void ecore_x_kill (Ecore_X_Window win)

Kill a specific client. You can kill a specific client woning window window

Parameters:

window Window of the client to be killed

You can kill a specific client owning window win

Parameters:

win Window of the client to be killed

References ecore_x_kill().

Referenced by ecore_x_kill().

EAPI void ecore_x_killall (Ecore_X_Window root)

Kill all clients with subwindows under a given window. You can kill all clients connected to the X server by using ecore_x_window_root_list to get a list of root windows, and then passing each root window to this function.

Parameters:

root The window whose children will be killed.

References ecore_x_killall().

Referenced by ecore_x_killall().

EAPI int ecore_x_selection_clipboard_clear (void)

Release ownership of the clipboard selection. Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_clipboard_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_clipboard_fetch(), which gets the reply.

Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

References ecore_x_selection_clipboard_clear().

Referenced by ecore_x_selection_clipboard_clear().

EAPI int ecore_x_selection_clipboard_set (Ecore_X_Window w, const void * data, int size)

Claim ownership of the CLIPBOARD selection and set its data. Parameters:

window The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

Get the converted data from a previous CLIPBOARD selection request. The buffer must be freed when done with.

To use this function, you must call before, and in order, ecore_x_selection_clipboard_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_clipboard_fetch(), which gets the reply.

Parameters:

w The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

Get the converted data from a previous CLIPBOARD selection request. The buffer must be freed when done with.

References ecore_x_selection_clipboard_set().

Referenced by ecore_x_selection_clipboard_set().

EAPI int ecore_x_selection_primary_clear (void)

Release ownership of the primary selection. Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_primary_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_primary_fetch(), which gets the reply.

Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

References ecore_x_selection_primary_clear().

Referenced by ecore_x_selection_primary_clear().

EAPI int ecore_x_selection_primary_set (Ecore_X_Window w, const void * data, int size)

Claim ownership of the PRIMARY selection and set its data. Parameters:

window The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_primary_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_primary_fetch(), which gets the reply.

Parameters:

w The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

References ecore_x_selection_primary_set().

Referenced by ecore_x_selection_primary_set().

EAPI int ecore_x_selection_secondary_clear (void)

Release ownership of the secondary selection. Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_secondary_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_secondary_fetch(), which gets the reply.

Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

References ecore_x_selection_secondary_clear().

Referenced by ecore_x_selection_secondary_clear().

EAPI int ecore_x_selection_secondary_set (Ecore_X_Window w, const void * data, int size)

Claim ownership of the SECONDARY selection and set its data. Parameters:

window The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_secondary_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_secondary_fetch(), which gets the reply.

Parameters:

w The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

References ecore_x_selection_secondary_set().

Referenced by ecore_x_selection_secondary_set().

EAPI int ecore_x_selection_xdnd_clear (void)

Release ownership of the XDND selection. Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_xdnd_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_xdnd_fetch(), which gets the reply.

Returns:

Returns 1 if the selection was successfully cleared, or 0 if unsuccessful.

References ecore_x_selection_xdnd_clear().

Referenced by ecore_x_selection_xdnd_clear().

EAPI int ecore_x_selection_xdnd_set (Ecore_X_Window w, const void * data, int size)

Claim ownership of the XDND selection and set its data. Parameters:

window The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

To use this function, you must call before, and in order, ecore_x_selection_xdnd_prefetch(), which sends the GetSelectionOwner request, then ecore_x_selection_xdnd_fetch(), which gets the reply.

Parameters:

w The window to which this selection belongs
data The data associated with the selection
size The size of the data buffer in bytes

Returns:

Returns 1 if the ownership of the selection was successfully claimed, or 0 if unsuccessful.

References ecore_x_selection_xdnd_set().

Referenced by ecore_x_dnd_begin(), and ecore_x_selection_xdnd_set().

EAPI void ecore_x_window_area_clear (Ecore_X_Window window, int x, int y, int width, int height)

Clears an area of the given window. Parameters:

window The given window.
x The X coordinate of the area.
y The Y coordinate of the area.
width The width of the area.
height The height of the area.

References ecore_x_window_area_clear().

Referenced by ecore_x_window_area_clear().

EAPI void ecore_x_window_area_expose (Ecore_X_Window window, int x, int y, int width, int height)

Exposes an area of the given window. Parameters:

window The given window.
x The X coordinate of the area.
y The Y coordinate of the area.
width The width of the area.
height The height of the area.

References ecore_x_window_area_expose().

Referenced by ecore_x_window_area_expose().

EAPI void ecore_x_window_defaults_set (Ecore_X_Window win)

Sets the default properties for the given window. The default properties set for the window are WM_CLIENT_MACHINE and _NET_WM_PID.

Parameters:

window The given window.

The default properties set for the window are WM_CLIENT_MACHINE and _NET_WM_PID.

Parameters:

win The given window.

References ecore_app_args_get(), ecore_x_icccm_command_set(), ecore_x_netwm_pid_set(), ecore_x_netwm_window_type_set(), and ecore_x_window_defaults_set().

Referenced by ecore_x_window_defaults_set(), and ecore_x_window_new().

EAPI int ecore_x_window_depth_get (Ecore_X_Window win)

Retrieves the depth of the given window. Parameters:

win The given window.

Returns:

Depth of the window.

References ecore_x_drawable_depth_get(), and ecore_x_window_depth_get().

Referenced by ecore_x_window_depth_get().

EAPI Ecore_X_Window* ecore_x_window_ignore_list (int * num)

Get the ignore list. Parameters:

num number of windows in the list

Returns:

list of windows to ignore

References ecore_x_window_ignore_list().

Referenced by ecore_x_window_ignore_list().

EAPI void ecore_x_window_ignore_set (Ecore_X_Window win, int ignore)

Set if a window should be ignored. Parameters:

window The given window.
ignore if to ignore
win The given window.
ignore if to ignore

References ecore_x_window_ignore_set().

Referenced by ecore_x_dnd_begin(), and ecore_x_window_ignore_set().

EAPI Ecore_X_Atom ecore_x_window_prop_any_type (void)

To be documented. FIXME: To be fixed.

References ecore_x_window_prop_any_type().

Referenced by ecore_x_window_prop_any_type().

EAPI void ecore_x_window_prop_atom_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.
atom Property atom.

References ecore_x_window_prop_atom_get_prefetch().

Referenced by ecore_x_window_prop_atom_get_prefetch().

EAPI void ecore_x_window_prop_card32_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.
atom The atom.

References ecore_x_window_prop_card32_get_prefetch().

Referenced by ecore_x_window_prop_card32_get_prefetch().

EAPI void ecore_x_window_prop_list_prefetch (Ecore_X_Window window)

Sends the ListProperties request. Parameters:

window Window whose properties are requested.

References ecore_x_window_prop_list_prefetch().

Referenced by ecore_x_window_prop_list_prefetch().

EAPI int ecore_x_window_prop_property_get (Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size __UNUSED__, unsigned char ** data, int * num)

To be documented. FIXME: To be fixed.

References ecore_x_window_prop_property_get().

Referenced by ecore_x_dnd_type_isset(), ecore_x_dnd_type_set(), ecore_x_dnd_version_get(), ecore_x_icccm_colormap_window_set(), ecore_x_icccm_colormap_window_unset(), and ecore_x_window_prop_property_get().

EAPI void ecore_x_window_prop_property_get_prefetch (Ecore_X_Window window, Ecore_X_Atom property, Ecore_X_Atom type)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.
property Property atom.
type Type atom.

References ecore_x_window_prop_property_get_prefetch().

Referenced by ecore_x_window_prop_property_get_prefetch().

EAPI void ecore_x_window_prop_property_set (Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size, void * data, int number)

To be documented. Parameters:

window The window.
property The property atom.
type The type atom.
size The size.
data The data.
number The size of the data.

FIXME: To be fixed.

FIXME: To be fixed.

References ecore_x_window_prop_property_set().

Referenced by ecore_x_dnd_type_set(), ecore_x_dnd_types_set(), ecore_x_icccm_colormap_window_set(), ecore_x_icccm_colormap_window_unset(), ecore_x_mwm_borderless_set(), and ecore_x_window_prop_property_set().

EAPI Ecore_X_WM_Protocol* ecore_x_window_prop_protocol_list_get (Ecore_X_Window win, int * num_ret)

To be documented. Parameters:

window The window.
num_ret The number of WM protocols.

Returns:

The returned WM protocols.

FIXME: To be fixed.

FIXME: To be fixed.

References ecore_x_window_prop_protocol_list_get().

Referenced by ecore_x_window_prop_protocol_list_get().

EAPI char* ecore_x_window_prop_string_get (Ecore_X_Window win, Ecore_X_Atom type)

Get a window string property. Parameters:

win The window
type The property

Return window string property of a window. String must be free'd when done.

References ecore_x_window_prop_string_get().

Referenced by ecore_x_icccm_client_machine_get(), ecore_x_icccm_window_role_get(), and ecore_x_window_prop_string_get().

EAPI void ecore_x_window_prop_string_get_prefetch (Ecore_X_Window window, Ecore_X_Atom type)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.
type The atom.

References ecore_x_window_prop_string_get_prefetch().

Referenced by ecore_x_window_prop_string_get_prefetch().

EAPI void ecore_x_window_prop_string_set (Ecore_X_Window win, Ecore_X_Atom type, const char * str)

Set a window string property. Parameters:

win The window
type The property
str The string

Set a window string property

References ecore_x_window_prop_string_set().

Referenced by ecore_x_icccm_window_role_set(), and ecore_x_window_prop_string_set().

EAPI void ecore_x_window_prop_window_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.
atom The atom.

References ecore_x_window_prop_window_get_prefetch().

Referenced by ecore_x_window_prop_window_get_prefetch().

EAPI void ecore_x_window_prop_xid_get_prefetch (Ecore_X_Window window, Ecore_X_Atom atom, Ecore_X_Atom type)

Sends the GetProperty request. Parameters:

window Window whose properties are requested.
atom The atom.
type The atom type.

References ecore_x_window_prop_xid_get_prefetch().

Referenced by ecore_x_window_prop_xid_get_prefetch().

EAPI Ecore_X_Window* ecore_x_window_root_list (int * num_ret)

Get a list of all the root windows on the server. Note:

The returned array will need to be freed after use.

Parameters:

num_ret Pointer to integer to put number of windows returned in.

Returns:

An array of all the root windows. NULL is returned if memory could not be allocated for the list, or if num_ret is NULL.

References ecore_x_window_root_list().

Referenced by ecore_x_window_root_list().

Variable Documentation

EAPI int ECORE_X_EVENT_ANY

low level event dependent on backend in use, if Xlib will be XEvent, if XCB will be xcb_generic_event_t. Warning:

avoid using it.

Referenced by ecore_x_init().

Author

Generated automatically by Doxygen for Ecore from the source code.