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 23, 2014 5:32 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Adjusting width of child (pop-up) window to same as parent
PostPosted: Fri Dec 07, 2012 10:58 pm 
Offline
Familiar Face

Joined: Thu Nov 22, 2012 3:46 pm
Posts: 21
Is it possible to adjust width of child (pop-up) window to the same as it's parent window width (gtk3)

Thanks


Top
 Profile  
 
 Post subject: Re: Adjusting width of child (pop-up) window to same as pare
PostPosted: Sat Dec 08, 2012 11:31 pm 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
No that's a bad idea. The main window may be maximised and a pop-up is better off not being so. Nonetheless you can check if it is unmaximised and if so get the width with gdk_window_get_width and then gtk_window_set_size_request to hint at what you want.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group