GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Oct 25, 2014 2:55 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 
Offline

Joined: Mon Dec 21, 2009 3:00 pm
Posts: 1
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...


Top
 Profile  
 
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: Google [Bot] and 2 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group