X Window Geometry Functions

Functions that change or retrieve the geometry of X windows. More...

Functions

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_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 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.

Detailed Description

Functions that change or retrieve the geometry of X windows.


Function Documentation

EAPI Ecore_X_Window ecore_x_window_at_xy_get ( int  x,
int  y 
)

Retrieves the top, visible window at the given location.

Parameters:
x The given X position.
y The given Y position.
Returns:
The window at that position.

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.

Parameters:
x The given X position.
y The given Y position.
Returns:
The window at that position.

EAPI int ecore_x_window_border_width_get ( Ecore_X_Window  win  ) 

Retrieves the width of the border of the given window.

Parameters:
win The given window.
Returns:
Width of the border of win.

EAPI void ecore_x_window_border_width_set ( Ecore_X_Window  win,
int  width 
)

Sets the width of the border of the given window.

Parameters:
win The given window.
width The new border width.

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.

Parameters:
win The given window.
x Pointer to an integer in which the X position is to be stored.
y Pointer to an integer in which the Y position is to be stored.
w Pointer to an integer in which the width is to be stored.
h Pointer to an integer in which the height is to be stored.

EAPI void ecore_x_window_move ( Ecore_X_Window  win,
int  x,
int  y 
)

Moves a window to the position x, y.

The position is relative to the upper left hand corner of the parent window.

Parameters:
win The window to move.
x X position.
y Y position.

EAPI void ecore_x_window_move_resize ( Ecore_X_Window  win,
int  x,
int  y,
int  w,
int  h 
)

Moves and resizes a window.

Parameters:
win The window to move and resize.
x New X position of the window.
y New Y position of the window.
w New width of the window.
h New height of the window.

EAPI void ecore_x_window_resize ( Ecore_X_Window  win,
int  w,
int  h 
)

Resizes a window.

Parameters:
win The window to resize.
w New width of the window.
h New height of the window.

EAPI void ecore_x_window_size_get ( Ecore_X_Window  win,
int *  w,
int *  h 
)

Retrieves the size of the given window.

Parameters:
win The given window.
w Pointer to an integer into which the width is to be stored.
h Pointer to an integer into which the height is to be stored.