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. |
EAPI Ecore_X_Window ecore_x_icccm_client_leader_get | ( | Ecore_X_Window | window | ) |
Get the window's client leader.
window | The window |
EAPI void ecore_x_icccm_client_leader_get_prefetch | ( | Ecore_X_Window | window | ) |
Sends the GetProperty request.
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.
window | The window | |
leader | The client leader window |
EAPI char* ecore_x_icccm_client_machine_get | ( | Ecore_X_Window | window | ) |
Get a window client machine string.
window | The window |
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.
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.
window | The toplevel window | |
sub_window | The subwindow to be added to the colormap windows list |
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.
window | The toplevel window | |
sub_window | The window to be removed from the colormap window list. |
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.
win | The window. | |
argc | Number of arguments. | |
argv | Arguments. |
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.
EAPI void ecore_x_icccm_command_set | ( | Ecore_X_Window | window, | |
int | argc, | |||
char ** | argv | |||
) |
Sets the WM_COMMAND property for win.
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.
window | The window. | |
time | The 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 | |||
) |
Gets the hints of a window.
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. |
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.
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. |
EAPI char* ecore_x_icccm_icon_name_get | ( | Ecore_X_Window window | __UNUSED__ | ) |
Get a window icon name.
window | The window. |
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.
EAPI void ecore_x_icccm_icon_name_set | ( | Ecore_X_Window | window, | |
const char * | title | |||
) |
Set a window icon name.
window | The window. | |
title | The icon name string. |
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.
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.
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.
window | The window (Unused). | |
name | The name string. | |
class | The class string. |
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.
EAPI void ecore_x_icccm_name_class_set | ( | Ecore_X_Window | window, | |
const char * | name, | |||
const char * | class | |||
) |
Set a window name & class.
window | The window | |
name | The name string | |
class | The class string |
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.
window | The Window (Unused). | |
protocol | The protocol to query. |
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.
window | The Window | |
protocol | The protocol to enable/disable | |
on | On/Off |
EAPI void ecore_x_icccm_save_yourself_send | ( | Ecore_X_Window | window, | |
Ecore_X_Time | time | |||
) |
Sends the ClientMessage event with the SaveYourself property.
window | The window. | |
time | The 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 | |||
) |
Gets the hints of a window.
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 |
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.
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. |
EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get | ( | Ecore_X_Window window | __UNUSED__ | ) |
Gets the state of a window.
window | The window. |
EAPI void ecore_x_icccm_state_set | ( | Ecore_X_Window | window, | |
Ecore_X_Window_State_Hint | state | |||
) |
Sets the state of a window.
window | The window. | |
state | The state. |
EAPI void ecore_x_icccm_take_focus_send | ( | Ecore_X_Window | window, | |
Ecore_X_Time | time | |||
) |
Sends the ClientMessage event with the TakeFocus property.
window | The window. | |
time | The time. |
EAPI char* ecore_x_icccm_title_get | ( | Ecore_X_Window window | __UNUSED__ | ) |
Gets the title of a window.
window | The window (Unused). |
EAPI void ecore_x_icccm_title_set | ( | Ecore_X_Window | window, | |
const char * | title | |||
) |
Set the title of a window.
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.
window | The window to check (Unused). |
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.
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.
window | The window. |
EAPI char* ecore_x_icccm_window_role_get | ( | Ecore_X_Window | window | ) |
Get the window role.
window | The window. |
EAPI void ecore_x_icccm_window_role_get_prefetch | ( | Ecore_X_Window | window | ) |
Sends the GetProperty request.
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.
window | The window | |
role | The role string. |