lib/ewl_window.h File Reference
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | Ewl_Window |
Inherits from Ewl_Embed class to create it's own window and canvas for drawing, sizing and positioning. More... | |
Defines | |
#define | EWL_WINDOW(win) ((Ewl_Window *) win) |
#define | EWL_WINDOW_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_WINDOW_TYPE)) |
#define | EWL_WINDOW_TYPE "window" |
Typedefs | |
typedef Ewl_Window | Ewl_Window |
Functions | |
void | ewl_window_attention_demand (Ewl_Window *win) |
Request the WM to pay attention to the window. | |
unsigned int | ewl_window_borderless_get (Ewl_Window *win) |
Retrieves the borderless flag for the window. | |
void | ewl_window_borderless_set (Ewl_Window *win, unsigned int border) |
Changes the border from the specified window. | |
void | ewl_window_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_destroy (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_expose (Ewl_Widget *w, void *ev, void *user_data) |
void | ewl_window_cb_hide (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_postrealize (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_realize (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_realize_parent (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_show (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_window_cb_unrealize (Ewl_Widget *w, void *ev_data, void *user_data) |
const char * | ewl_window_class_get (Ewl_Window *win) |
Retrieve the class of the specified window. | |
void | ewl_window_class_set (Ewl_Window *win, const char *classname) |
Set the class of the specified window. | |
int | ewl_window_dialog_get (Ewl_Window *win) |
Retrieves the current dialog state on a window. | |
void | ewl_window_dialog_set (Ewl_Window *win, int dialog) |
Changes the dialog state on the specified window. | |
unsigned int | ewl_window_fullscreen_get (Ewl_Window *win) |
Retrieve the fullscreen setting for the window. | |
void | ewl_window_fullscreen_set (Ewl_Window *win, unsigned int fullscreen) |
Sets the fullscreen setting for the window. | |
int | ewl_window_init (Ewl_Window *win) |
Initialize a window to default values and callbacks. | |
int | ewl_window_keyboard_grab_get (Ewl_Window *win) |
Retrieves the current keyboard grab state on a window. | |
void | ewl_window_keyboard_grab_set (Ewl_Window *win, int grab) |
Changes the keyboard grab state on the specified window. | |
Ewl_Embed_Window * | ewl_window_leader_foreign_get (Ewl_Window *win) |
Gets the leader of this window. | |
void | ewl_window_leader_foreign_set (Ewl_Window *win, Ewl_Embed_Window *leader) |
Sets the window to be client window of the leader. | |
Ewl_Window * | ewl_window_leader_get (Ewl_Window *win) |
Gets the leader of this window. | |
void | ewl_window_leader_set (Ewl_Window *win, Ewl_Window *leader) |
Sets the window to be client window of the leader. | |
void | ewl_window_lower (Ewl_Window *win) |
Lower a window. | |
int | ewl_window_modal_get (Ewl_Window *win) |
Gets the boolean flag indicating if win is modal. | |
void | ewl_window_modal_set (Ewl_Window *win, int modal) |
Sets the window to modal or non-modal based on modal. | |
void | ewl_window_move (Ewl_Window *win, int x, int y) |
Move the specified window to the given position. | |
const char * | ewl_window_name_get (Ewl_Window *win) |
Retrieve the name of the specified window. | |
void | ewl_window_name_set (Ewl_Window *win, const char *name) |
Set the name of the specified window. | |
Ewl_Widget * | ewl_window_new (void) |
Allocate and initialize a new window. | |
int | ewl_window_override_get (Ewl_Window *win) |
Retrieves the current override state on a window. | |
void | ewl_window_override_set (Ewl_Window *win, int override) |
Changes the override state on the specified window. | |
int | ewl_window_pointer_grab_get (Ewl_Window *win) |
Retrieves the current pointer grab state on a window. | |
void | ewl_window_pointer_grab_set (Ewl_Window *win, int grab) |
Changes the pointer grab state on the specified window. | |
void | ewl_window_raise (Ewl_Window *win) |
Raise a window. | |
unsigned int | ewl_window_skip_pager_get (Ewl_Window *win) |
Retrieve the skip pager setting for the window. | |
void | ewl_window_skip_pager_set (Ewl_Window *win, unsigned int skip) |
Sets the skip pager setting for the window. | |
unsigned int | ewl_window_skip_taskbar_get (Ewl_Window *win) |
Retrieve the skip taskbar setting for the window. | |
void | ewl_window_skip_taskbar_set (Ewl_Window *win, unsigned int skip) |
Sets the skip taskbar setting for the window. | |
const char * | ewl_window_title_get (Ewl_Window *win) |
Retrieve the title of the specified window. | |
void | ewl_window_title_set (Ewl_Window *win, const char *title) |
Set the title of the specified window. | |
void | ewl_window_transient_for (Ewl_Window *win, Ewl_Window *forwin) |
Sets a window to be transient for another window. | |
void | ewl_window_transient_for_foreign (Ewl_Window *win, Ewl_Embed_Window *forwin) |
Sets a window to be transient for another window. | |
unsigned int | ewl_window_urgent_get (Ewl_Window *win) |
Get the window urgent state. | |
void | ewl_window_urgent_set (Ewl_Window *win, unsigned int urgent) |
Set the window to be urgent. | |
Ewl_Window * | ewl_window_window_find (void *window) |
Find an ewl window by it's X window. | |
Variables | |
unsigned int | EWL_CALLBACK_DELETE_WINDOW |
unsigned int | EWL_CALLBACK_EXPOSE |