]>
Dogcows Code - chaz/openbox/blob - otk_c/init.c
1 // -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
5 #include "screeninfo.h"
13 static PyMethodDef otk_methods
[] = {
14 // {"new_noddy", noddy_new_noddy, METH_VARARGS,
15 // "Create a new Noddy object."},
20 void initotk(char *display
)
22 OtkRect_Type
.ob_type
= &PyType_Type
;
23 OtkDisplay_Type
.ob_type
= &PyType_Type
;
24 OtkScreenInfo_Type
.ob_type
= &PyType_Type
;
25 OtkColor_Type
.ob_type
= &PyType_Type
;
26 OtkFont_Type
.ob_type
= &PyType_Type
;
28 Py_InitModule("otk", otk_methods
);
30 OtkDisplay_Initialize(display
);
32 OtkGCCache_Initialize();
This page took 0.037573 seconds and 4 git commands to generate.