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 

Panel

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



Joined: 27 Jun 2007
Posts: 2

PostPosted: Wed Jun 27, 2007 5:39 pm    Post subject: Panel Reply with quote

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.
Back to top
sitnarf



Joined: 27 Jun 2007
Posts: 2

PostPosted: Wed Jun 27, 2007 5:41 pm    Post subject: Reply with quote

Here's the image 8) :
http://disk.jabbim.cz/dl/19ccceb0cf1ce4da65f10b8fa8e97001/468296ad/sitnarf@jabber.cz/problem.svg
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 386
Location: Fairfax, Virginia

PostPosted: Wed Jun 27, 2007 6:22 pm    Post subject: Reply with quote

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.
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 90
Location: Wilkes Barre Pa

PostPosted: Fri Jun 29, 2007 1:25 am    Post subject: Reply with quote

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