GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[RESOLVED] New windows appear below old ones?

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
serratemplar



Joined: 04 Jun 2007
Posts: 2

PostPosted: Mon Jun 04, 2007 6:06 pm    Post subject: [RESOLVED] New windows appear below old ones? Reply with quote

When a new window is created in my app, it appears beneath (as in, it is occluded by) the windows created before it. This is not the behavior I desire =)

Does anyone know offhand how I can create a new window and force it to appear on top of windows that have already been created, instead of underneath them?

Thanks in advance.


Last edited by serratemplar on Tue Jun 05, 2007 5:35 pm; edited 1 time in total
Back to top
serratemplar



Joined: 04 Jun 2007
Posts: 2

PostPosted: Tue Jun 05, 2007 5:35 pm    Post subject: Reply with quote

This was a trivial fix (as I hoped). Don't know how I missed this:

gtk_window_present(GtkWindow w)

did the trick.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP