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