|
Hi,
I am developing an application with GDK and OpenGL (no GTK) and I am currently making my own even handler. I first create a GDK window and then register my own event handling function with gdk_event_handler_set(myfunction, NULL, NULL);. However, my event handling function is never called! Am I missing something? Do I need to do anything else to make this work? I don't have to do anything with the Glib main loop do I?
Are there any requirements for the event handling function (except for the return type and arguments)? My current event handling function is a private static function of Class A, and I am registering the handler in a function in class B, which I declared as a friend class of Class A. This should work right?
I can't seem to figure this one out...
|