1 // -*- mode: C; indent-tabs-mode: nil; -*-
17 //! Does the display have the Shape extention?
19 //! Base for events for the Shape extention
20 int shape_event_basep;
22 //! Does the display have the Xinerama extention?
24 //! Base for events for the Xinerama extention
25 int xinerama_event_basep;
27 //! A list of all possible combinations of keyboard lock masks
28 unsigned int mask_list[8];
30 //! The number of requested grabs on the display
33 //! A list of information for all screens on the display
34 PyObject *screenInfoList; // PyListObject
36 //! A cache for re-using GCs, used by the drawing objects
47 //! Creates a struct, opens the X display
49 @see OBDisplay::display
50 @param name The name of the X display to open. If it is null, the DISPLAY
51 environment variable is used instead.
53 PyObject *OtkDisplay_New(char *name);
56 void OtkDisplay_Grab(OtkDisplay *self);
58 //! Ungrabs the display
59 void OtkDisplay_Ungrab(OtkDisplay *self);