-// -*- mode: C; indent-tabs-mode: nil; -*-
+// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __display_h
#define __display_h
extern struct OtkDisplay *OBDisplay; // the global display XXX: move this to app.h and ob.h?
+extern PyTypeObject OtkDisplay_Type;
+
typedef struct OtkDisplay {
PyObject_HEAD
int grab_count;
//! A list of information for all screens on the display
- PyObject *screenInfoList; // PyListObject
+ PyListObject *screenInfoList;
} OtkDisplay;
//! Opens the X display, and sets the global OBDisplay variable