GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Tue Aug 30, 2016 9:06 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: gdk_event_handler_set help needed!
PostPosted: Mon Dec 21, 2009 3:06 pm 

Joined: Mon Dec 21, 2009 3:00 pm
Posts: 1

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...

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group