Rechercher une page de manuel
Ecore_X_ICCCM_Group
Langue: en
Version: 374907 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- Detailed Description
- Function Documentation
- EAPI Ecore_X_Window ecore_x_icccm_client_leader_get (Ecore_X_Window window)
- EAPI void ecore_x_icccm_client_leader_get_prefetch (Ecore_X_Window window)
- EAPI void ecore_x_icccm_client_leader_set (Ecore_X_Window window, Ecore_X_Window leader)
- EAPI char* ecore_x_icccm_client_machine_get (Ecore_X_Window window)
- EAPI void ecore_x_icccm_colormap_window_set (Ecore_X_Window window, Ecore_X_Window sub_window)
- EAPI void ecore_x_icccm_colormap_window_unset (Ecore_X_Window window, Ecore_X_Window sub_window)
- EAPI void ecore_x_icccm_command_get (Ecore_X_Window window __UNUSED__, int * argc, char *** argv)
- EAPI void ecore_x_icccm_command_set (Ecore_X_Window window, int argc, char ** argv)
- EAPI void ecore_x_icccm_delete_window_send (Ecore_X_Window window, Ecore_X_Time time)
- EAPI int ecore_x_icccm_hints_get (Ecore_X_Window window __UNUSED__, 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)
- EAPI void ecore_x_icccm_hints_set (Ecore_X_Window window, 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)
- EAPI char* ecore_x_icccm_icon_name_get (Ecore_X_Window window __UNUSED__)
- EAPI void ecore_x_icccm_icon_name_set (Ecore_X_Window window, const char * title)
- EAPI void ecore_x_icccm_iconic_request_send (Ecore_X_Window window, Ecore_X_Window root)
- EAPI void ecore_x_icccm_move_resize_send (Ecore_X_Window window, int x, int y, int width, int height)
- EAPI void ecore_x_icccm_name_class_get (Ecore_X_Window window __UNUSED__, char ** name, char ** class)
- EAPI void ecore_x_icccm_name_class_set (Ecore_X_Window window, const char * name, const char * class)
- EAPI int ecore_x_icccm_protocol_isset (Ecore_X_Window window __UNUSED__, Ecore_X_WM_Protocol protocol)
- EAPI void ecore_x_icccm_protocol_set (Ecore_X_Window window, Ecore_X_WM_Protocol protocol, int on)
- EAPI void ecore_x_icccm_save_yourself_send (Ecore_X_Window window, Ecore_X_Time time)
- EAPI int ecore_x_icccm_size_pos_hints_get (Ecore_X_Window window __UNUSED__, 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)
- EAPI void ecore_x_icccm_size_pos_hints_set (Ecore_X_Window window, 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)
- EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get (Ecore_X_Window window __UNUSED__)
- EAPI void ecore_x_icccm_state_set (Ecore_X_Window window, Ecore_X_Window_State_Hint state)
- EAPI void ecore_x_icccm_take_focus_send (Ecore_X_Window window, Ecore_X_Time time)
- EAPI char* ecore_x_icccm_title_get (Ecore_X_Window window __UNUSED__)
- EAPI void ecore_x_icccm_title_set (Ecore_X_Window window, const char * title)
- EAPI Ecore_X_Window ecore_x_icccm_transient_for_get (Ecore_X_Window window __UNUSED__)
- EAPI void ecore_x_icccm_transient_for_set (Ecore_X_Window window, Ecore_X_Window forwindow)
- EAPI void ecore_x_icccm_transient_for_unset (Ecore_X_Window window)
- EAPI char* ecore_x_icccm_window_role_get (Ecore_X_Window window)
- EAPI void ecore_x_icccm_window_role_get_prefetch (Ecore_X_Window window)
- EAPI void ecore_x_icccm_window_role_set (Ecore_X_Window window, const char * role)
- Author
NAME
ICCCM related functions. -Functions related to ICCCM.
Functions
EAPI void ecore_x_icccm_state_set (Ecore_X_Window window, Ecore_X_Window_State_Hint state)
Sets the state of a window.
EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get (Ecore_X_Window window __UNUSED__)
Gets the state of a window.
EAPI void ecore_x_icccm_delete_window_send (Ecore_X_Window window, Ecore_X_Time time)
Sends the ClientMessage event with the DeleteWindow property.
EAPI void ecore_x_icccm_take_focus_send (Ecore_X_Window window, Ecore_X_Time time)
Sends the ClientMessage event with the TakeFocus property.
EAPI void ecore_x_icccm_save_yourself_send (Ecore_X_Window window, Ecore_X_Time time)
Sends the ClientMessage event with the SaveYourself property.
EAPI void ecore_x_icccm_move_resize_send (Ecore_X_Window window, int x, int y, int width, int height)
Sends the ConfigureNotify event with the StructureNotify property.
EAPI void ecore_x_icccm_hints_set (Ecore_X_Window window, 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 int ecore_x_icccm_hints_get (Ecore_X_Window window __UNUSED__, 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)
Gets the hints of a window.
EAPI void ecore_x_icccm_size_pos_hints_set (Ecore_X_Window window, 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 int ecore_x_icccm_size_pos_hints_get (Ecore_X_Window window __UNUSED__, 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)
Gets the hints of a window.
EAPI void ecore_x_icccm_title_set (Ecore_X_Window window, const char *title)
Set the title of a window.
EAPI char * ecore_x_icccm_title_get (Ecore_X_Window window __UNUSED__)
Gets the title of a window.
EAPI void ecore_x_icccm_protocol_set (Ecore_X_Window window, Ecore_X_WM_Protocol protocol, int on)
Set or unset a wm protocol property.
EAPI int ecore_x_icccm_protocol_isset (Ecore_X_Window window __UNUSED__, 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 window, const char *name, const char *class)
Set a window name & class.
EAPI void ecore_x_icccm_name_class_get (Ecore_X_Window window __UNUSED__, char **name, char **class)
Get a window name and class.
EAPI char * ecore_x_icccm_client_machine_get (Ecore_X_Window window)
Get a window client machine string.
EAPI void ecore_x_icccm_command_set (Ecore_X_Window window, int argc, char **argv)
Sets the WM_COMMAND property for win.
EAPI void ecore_x_icccm_command_get (Ecore_X_Window window __UNUSED__, int *argc, char ***argv)
Get the WM_COMMAND property for a window.
EAPI void ecore_x_icccm_icon_name_set (Ecore_X_Window window, const char *title)
Set a window icon name.
EAPI char * ecore_x_icccm_icon_name_get (Ecore_X_Window window __UNUSED__)
Get a window icon name.
EAPI void ecore_x_icccm_colormap_window_set (Ecore_X_Window window, Ecore_X_Window sub_window)
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 window, Ecore_X_Window sub_window)
Remove a window from the list of colormap windows.
EAPI void ecore_x_icccm_transient_for_set (Ecore_X_Window window, Ecore_X_Window forwindow)
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 window)
Remove the transient_for setting from a window.
EAPI Ecore_X_Window ecore_x_icccm_transient_for_get (Ecore_X_Window window __UNUSED__)
Get the window this window is transient for, if any.
EAPI void ecore_x_icccm_window_role_set (Ecore_X_Window window, const char *role)
Set the window role hint.
EAPI void ecore_x_icccm_window_role_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_icccm_window_role_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_icccm_window_role_get_prefetch().
EAPI char * ecore_x_icccm_window_role_get (Ecore_X_Window window)
Get the window role.
EAPI void ecore_x_icccm_client_leader_set (Ecore_X_Window window, Ecore_X_Window leader)
Set the window's client leader.
EAPI void ecore_x_icccm_client_leader_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request.
EAPI void ecore_x_icccm_client_leader_get_fetch (void)
Gets the reply of the GetProperty request sent by ecore_x_icccm_client_leader_get_prefetch().
EAPI Ecore_X_Window ecore_x_icccm_client_leader_get (Ecore_X_Window window)
Get the window's client leader.
EAPI void ecore_x_icccm_iconic_request_send (Ecore_X_Window window, Ecore_X_Window root)
Send the ClientMessage event with the ChangeState property.
Detailed Description
Functions related to ICCCM.
Function Documentation
EAPI Ecore_X_Window ecore_x_icccm_client_leader_get (Ecore_X_Window window)
Get the window's client leader. Parameters:
- window The window
Returns:
- The window's client leader window, or 0 if unset.
To use this function, you must call before, and in order, ecore_x_icccm_client_leader_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_client_leader_get_fetch(), which gets the reply.
EAPI void ecore_x_icccm_client_leader_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request. Parameters:
- window Window whose properties are requested.
EAPI void ecore_x_icccm_client_leader_set (Ecore_X_Window window, Ecore_X_Window leader)
Set the window's client leader. Parameters:
- window The window
leader The client leader window
All non-transient top-level windows created by an app other than the main window must have this property set to the app's main window.
EAPI char* ecore_x_icccm_client_machine_get (Ecore_X_Window window)
Get a window client machine string. Parameters:
- window The window
Returns:
- The windows client machine string
Return the client machine of a window. String must be free'd when done with.
To use this function, you must call before, and in order, ecore_x_icccm_client_machine_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_client_machine_get_fetch(), which gets the reply.
References ecore_x_window_prop_string_get().
EAPI void ecore_x_icccm_colormap_window_set (Ecore_X_Window window, Ecore_X_Window sub_window)
Add a subwindow to the list of windows that need a different colormap installed. Parameters:
- window The toplevel window
sub_window The subwindow to be added to the colormap windows list
Add sub_window to the list of windows that need a different colormap installed.
To use this function, you must call before, and in order, ecore_x_icccm_colormap_window_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_colormap_window_get_fetch(), which gets the reply.
EAPI void ecore_x_icccm_colormap_window_unset (Ecore_X_Window window, Ecore_X_Window sub_window)
Remove a window from the list of colormap windows. Parameters:
- window The toplevel window
sub_window The window to be removed from the colormap window list.
Remove sub_window from the list of colormap windows.
To use this function, you must call before, and in order, ecore_x_icccm_colormap_window_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_colormap_window_get_fetch(), which gets the reply.
EAPI void ecore_x_icccm_command_get (Ecore_X_Window window __UNUSED__, int * argc, char *** argv)
Get the WM_COMMAND property for a window. Parameters:
- win The window.
argc Number of arguments.
argv Arguments.
Return the command of window and store it in argv. argc contains the number of arguments. String must be free'd when done with.
To use this function, you must call before, and in order, ecore_x_icccm_command_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_command_get_fetch(), which gets the reply.
References ecore_x_icccm_command_get().
EAPI void ecore_x_icccm_command_set (Ecore_X_Window window, int argc, char ** argv)
Sets the WM_COMMAND property for win. Parameters:
- window The window.
argc Number of arguments.
argv Arguments.
EAPI void ecore_x_icccm_delete_window_send (Ecore_X_Window window, Ecore_X_Time time)
Sends the ClientMessage event with the DeleteWindow property. Parameters:
- window The window.
time The time.
References ecore_x_client_message32_send().
EAPI int ecore_x_icccm_hints_get (Ecore_X_Window window __UNUSED__, 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)
Gets the hints of a window. Parameters:
- window The window.
accepts_focus AcceptFocus hint
initial_state Initial state flags.
icon_pixmap Icon pixmap.
icon_mask Icon mask.
icon_window Icon window.
window_group Group window.
is_urgent IsUrgent flag.
Returns:
- 1 on success, 0 otherwise.
To use this function, you must call before, and in order, ecore_x_icccm_hints_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_hints_get_fetch(), which gets the reply.
References ECORE_X_WINDOW_STATE_HINT_ICONIC, ECORE_X_WINDOW_STATE_HINT_NORMAL, and ECORE_X_WINDOW_STATE_HINT_WITHDRAWN.
EAPI void ecore_x_icccm_hints_set (Ecore_X_Window window, 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. Parameters:
- window The window.
accepts_focus AcceptFocus hint
initial_state Initial state flags.
icon_pixmap Icon pixmap.
icon_mask Icon mask.
icon_window Icon window.
window_group Group window.
is_urgent IsUrgent flag.
References ECORE_X_WINDOW_STATE_HINT_ICONIC, ECORE_X_WINDOW_STATE_HINT_NORMAL, and ECORE_X_WINDOW_STATE_HINT_WITHDRAWN.
EAPI char* ecore_x_icccm_icon_name_get (Ecore_X_Window window __UNUSED__)
Get a window icon name. Parameters:
- window The window.
Returns:
- The windows icon name string.
Return the icon name of window. String must be free'd when done with.
To use this function, you must call before, and in order, ecore_x_icccm_icon_name_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_icon_name_get_fetch(), which gets the reply.
References ecore_x_icccm_icon_name_get().
EAPI void ecore_x_icccm_icon_name_set (Ecore_X_Window window, const char * title)
Set a window icon name. Parameters:
- window The window.
title The icon name string.
Set window icon name.
EAPI void ecore_x_icccm_iconic_request_send (Ecore_X_Window window, Ecore_X_Window root)
Send the ClientMessage event with the ChangeState property. Parameters:
- window The window.
root The root window.
EAPI void ecore_x_icccm_move_resize_send (Ecore_X_Window window, int x, int y, int width, int height)
Sends the ConfigureNotify event with the StructureNotify property. Parameters:
- window The window.
x The X coordinate.
y The Y coordinate.
width The width.
height The height.
EAPI void ecore_x_icccm_name_class_get (Ecore_X_Window window __UNUSED__, char ** name, char ** class)
Get a window name and class. Parameters:
- window The window (Unused).
name The name string.
class The class string.
Store the name and class of window into respectively name and class.
To use this function, you must call before, and in order, ecore_x_icccm_name_class_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_name_class_get_fetch(), which gets the reply.
References ecore_x_icccm_name_class_get().
EAPI void ecore_x_icccm_name_class_set (Ecore_X_Window window, const char * name, const char * class)
Set a window name & class. Parameters:
- window The window
name The name string
class The class string
Set the name and class of window to respectively name and class.
EAPI int ecore_x_icccm_protocol_isset (Ecore_X_Window window __UNUSED__, Ecore_X_WM_Protocol protocol)
Determines whether a protocol is set for a window. Parameters:
- window The Window (Unused).
protocol The protocol to query.
Returns:
- 1 if the protocol is set, else 0.
To use this function, you must call before, and in order, ecore_x_icccm_protocol_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_protocol_get_fetch(), which gets the reply.
References ecore_x_icccm_protocol_isset().
EAPI void ecore_x_icccm_protocol_set (Ecore_X_Window window, Ecore_X_WM_Protocol protocol, int on)
Set or unset a wm protocol property. Parameters:
- window The Window
protocol The protocol to enable/disable
on On/Off
To use this function, you must call before, and in order, ecore_x_icccm_protocol_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_protocol_get_fetch(), which gets the reply.
EAPI void ecore_x_icccm_save_yourself_send (Ecore_X_Window window, Ecore_X_Time time)
Sends the ClientMessage event with the SaveYourself property. Parameters:
- window The window.
time The time.
References ecore_x_client_message32_send().
EAPI int ecore_x_icccm_size_pos_hints_get (Ecore_X_Window window __UNUSED__, 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)
Gets the hints of a window. Parameters:
- window The window.
request_pos Request position flag.
gravity Gravity.
min_w Minimum width.
min_h Minimum height.
max_w Maximum width.
max_h Maximum height.
base_w Base width
base_h Base height
step_x X step coordinate.
step_y Y step coordinate.
min_aspect Minimum aspect ratio.
max_aspect M
Returns:
- 1 on success, 0 otherwise.
To use this function, you must call before, and in order, ecore_x_icccm_size_pos_hints_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_size_pos_hints_get_fetch(), which gets the reply.
EAPI void ecore_x_icccm_size_pos_hints_set (Ecore_X_Window window, 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. Parameters:
- window The window.
request_pos Request position flag.
gravity Gravity.
min_w Minimum width.
min_h Minimum height.
max_w Maximum width.
max_h Maximum height.
base_w Base width
base_h Base height
step_x X step coordinate.
step_y Y step coordinate.
min_aspect Minimum aspect ratio.
max_aspect Maximum aspect ratio.
To use this function, you must call before, and in order, ecore_x_icccm_size_pos_hints_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_size_pos_hints_get_fetch(), which gets the reply.
EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get (Ecore_X_Window window __UNUSED__)
Gets the state of a window. Parameters:
- window The window.
Returns:
- The state of the window
To use this function, you must call before, and in order, ecore_x_icccm_state_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_state_get_fetch(), which gets the reply.
References ECORE_X_WINDOW_STATE_HINT_ICONIC, ECORE_X_WINDOW_STATE_HINT_NONE, ECORE_X_WINDOW_STATE_HINT_NORMAL, and ECORE_X_WINDOW_STATE_HINT_WITHDRAWN.
EAPI void ecore_x_icccm_state_set (Ecore_X_Window window, Ecore_X_Window_State_Hint state)
Sets the state of a window. Parameters:
- window The window.
state The state.
References ECORE_X_WINDOW_STATE_HINT_ICONIC, ECORE_X_WINDOW_STATE_HINT_NORMAL, and ECORE_X_WINDOW_STATE_HINT_WITHDRAWN.
EAPI void ecore_x_icccm_take_focus_send (Ecore_X_Window window, Ecore_X_Time time)
Sends the ClientMessage event with the TakeFocus property. Parameters:
- window The window.
time The time.
References ecore_x_client_message32_send().
EAPI char* ecore_x_icccm_title_get (Ecore_X_Window window __UNUSED__)
Gets the title of a window. Parameters:
- window The window (Unused).
Returns:
- The title of the window
To use this function, you must call before, and in order, ecore_x_icccm_title_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_title_get_fetch(), which gets the reply.
EAPI void ecore_x_icccm_title_set (Ecore_X_Window window, const char * title)
Set the title of a window. Parameters:
- window The window.
title The title.
EAPI Ecore_X_Window ecore_x_icccm_transient_for_get (Ecore_X_Window window __UNUSED__)
Get the window this window is transient for, if any. Parameters:
- window The window to check (Unused).
Returns:
- The window ID of the top-level window, or 0 if the property does not exist.
To use this function, you must call before, and in order, ecore_x_icccm_transient_for_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_transient_for_get_fetch(), which gets the reply.
References ecore_x_icccm_transient_for_get().
EAPI void ecore_x_icccm_transient_for_set (Ecore_X_Window window, Ecore_X_Window forwindow)
Specify that a window is transient for another top-level window and should be handled accordingly. Parameters:
- window The transient window
forwindow The toplevel window
EAPI void ecore_x_icccm_transient_for_unset (Ecore_X_Window window)
Remove the transient_for setting from a window. Parameters:
- window The window.
EAPI char* ecore_x_icccm_window_role_get (Ecore_X_Window window)
Get the window role. Parameters:
- window The window.
Returns:
- The window's role string.
To use this function, you must call before, and in order, ecore_x_icccm_window_role_get_prefetch(), which sends the GetProperty request, then ecore_x_icccm_window_role_get_fetch(), which gets the reply.
References ecore_x_window_prop_string_get().
EAPI void ecore_x_icccm_window_role_get_prefetch (Ecore_X_Window window)
Sends the GetProperty request. Parameters:
- window Window whose properties are requested.
EAPI void ecore_x_icccm_window_role_set (Ecore_X_Window window, const char * role)
Set the window role hint. Parameters:
- window The window
role The role string.
References ecore_x_window_prop_string_set().
Author
Generated automatically by Doxygen for Ecore from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre