GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon Oct 20, 2014 1:02 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: menu item to force configure event
PostPosted: Sun Nov 27, 2011 8:43 am 
Offline

Joined: Sun Nov 27, 2011 8:29 am
Posts: 3
Right now i use a global so that i can force a configure event on a drawable via gtk_widget_queue_resize()

I don't believe this is an optimal implementation and would like to eliminate the global widget. Does anyone have a suggestion as to how i might pass the widget of interest to the menu function handler?

What would be ideal is that the menu function would simply fetch the widget of interest from widget->parent or the like, but i'm having a difficult time finding a way to do this.


Any ideas?


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