Logo Search packages:      
Sourcecode: galago-gtk-python version File versions  Download package

galago-gdkmodule.c

#include <pygobject.h>
#include <pygtk/pygtk.h>

void pygalago_gdk_register_classes(PyObject *d);
extern PyMethodDef pygalago_gdk_functions[];

DL_EXPORT(void)
initgdk(void)
{
      PyObject *m, *d;

      init_pygobject();
      init_pygtk();

      m = Py_InitModule("galago.gdk", pygalago_gdk_functions);
      d = PyModule_GetDict(m);

      pygalago_gdk_register_classes(d);
      //pygalago_gdk_add_constants(m, "GALAGO_GDK_");

      if (PyErr_Occurred()) {
            Py_FatalError("can't initialize module galago-gdk");
      }
}

Generated by  Doxygen 1.6.0   Back to index