]> Dogcows Code - chaz/openbox/blob - otk_c/screeninfo.h
check for the python cflags and libs
[chaz/openbox] / otk_c / screeninfo.h
1 // -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __screeninfo_h
3 #define __screeninfo_h
4
5 #include <X11/Xlib.h>
6 #include <Python.h>
7
8 extern PyTypeObject OtkScreenInfo_Type;
9
10 struct OtkRect;
11
12 typedef struct OtkScreenInfo {
13 PyObject_HEAD
14 int screen;
15 Window root_window;
16
17 int depth;
18 Visual *visual;
19 Colormap colormap;
20
21 PyStringObject *display_string;
22 struct OtkRect *rect; // OtkRect
23 #ifdef XINERAMA
24 PyListObject *xinerama_areas; // holds OtkRect's
25 Bool xinerama_active;
26 #endif
27 } OtkScreenInfo;
28
29 //! Creates an OtkScreenInfo for a screen
30 /*!
31 @param num The number of the screen on the display for which to fill the
32 struct with information. Must be a value >= 0.
33 */
34 PyObject *OtkScreenInfo_New(int num);
35
36 #endif // __screeninfo_h
This page took 0.033524 seconds and 4 git commands to generate.