Ecore_X_Shape_Group

Langue: en

Autres versions - même langue

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

Section: 3 (Bibliothèques de fonctions)

NAME

X Shape extension -

Functions that use the shape extension of the X server to change shape of given windows.

Functions


EAPI void ecore_x_window_shape_mask_set (Ecore_X_Window dest_win, Ecore_X_Pixmap source_mask)
Sets the shape of the given window to the given pixmap.
EAPI void ecore_x_window_shape_rectangle_set (Ecore_X_Window dest_win, int x, int y, int width, int height)
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 Ecore_X_Rectangle * ecore_x_window_shape_rectangles_get (Ecore_X_Window window __UNUSED__, int *num_ret)
To document.

Detailed Description

Functions that use the shape extension of the X server to change shape of given windows.

Function Documentation

EAPI void ecore_x_window_shape_mask_set (Ecore_X_Window dest_win, Ecore_X_Pixmap source_mask)

Sets the shape of the given window to the given pixmap. Parameters:

dest_win The given window.
source_mask A 2-bit depth pixmap that provides the new shape of the window.

Sets the shape of the window dest_win to the pixmap source_mask.

EAPI void ecore_x_window_shape_rectangle_set (Ecore_X_Window dest_win, int x, int y, int width, int height)

Sets the shape of the given window to a rectangle. Parameters:

dest_win The given window.
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.

Sets the shape of the window dest_win to a rectangle defined by x, y, width and height.

EAPI Ecore_X_Rectangle* ecore_x_window_shape_rectangles_get (Ecore_X_Window window __UNUSED__, int * num_ret)

To document. Parameters:

window Unused.
num_ret To document.

Returns:

To document.

To use this function, you must call before, and in order, ecore_x_window_shape_rectangles_get_prefetch(), which sends the ShapeGetRectangles request, then ecore_x_window_shape_rectangles_get_fetch(), which gets the reply.

EAPI void ecore_x_window_shape_rectangles_get_prefetch (Ecore_X_Window window)

Sends the ShapeGetRectangles request. Parameters:

window Requested window.

Author

Generated automatically by Doxygen for Ecore from the source code.