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 Aug 27, 2016 9:53 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Spin values disappearing after hiding a window
PostPosted: Sun Jan 19, 2014 10:28 pm 
Familiar Face

Joined: Tue Jan 01, 2013 4:57 pm
Posts: 6
I want to hide a window while a subwindow is open (without unrealizing it, since it is to appear again after the subwindow is closed) but for some reason, the number in all the spinners doesn't re-appear when the window reappears, even though the spinners still function correctly. ... _error.png

I've tried using hide_all/show_all, hide/show or visible=false/visible=true to hide the window and it always happens. Calling queue_draw on the whole window or on the spin widgets themselves after the window reappears doesn't work either.

Using unrealize/realize to hide the window doesn't cause this problem, but I'd prefer not to do that since it's slower and it also changes the window's position on the screen. Does anyone know why this is happening? Does it have to do with the fact that the spinners use Adjustments, which aren't technically children of the window?

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 Adsense [Bot] and 3 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group