GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 30, 2014 12:16 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Panel
PostPosted: Wed Jun 27, 2007 5:39 pm 
Offline

Joined: Wed Jun 27, 2007 5:22 pm
Posts: 2
Hi, I've got a stupit problem (but I'm trying to solve it a long time). I need get a panel (by HPaned) which will not change his size when the window is resized.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 27, 2007 5:41 pm 
Offline

Joined: Wed Jun 27, 2007 5:22 pm
Posts: 2
Here's the image 8) :
http://disk.jabbim.cz/dl/19ccceb0cf1ce4 ... roblem.svg


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 27, 2007 6:22 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
Because of the way sizing works in GTK+, you can't really just flip a switch and prevent the GtkPaned widget from adjusting itself when the window is resized. One option would be to connect to "configure-event" for the GtkWindow, which will tell you when the window is resized. In this callback function, make sure the pane stays the same size.

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 29, 2007 1:25 am 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
Couldn't sitnarf just use GtkFixed as a container?

And the image link is dead so i am not sure what sitnarf was trying t do.


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

All times are UTC


Who is online

Users browsing this forum: Google [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