|
|
| Author |
Message |
|
|
sitnarf
Joined: 27 Jun 2007 Posts: 2
|
Posted: Wed Jun 27, 2007 5:39 pm Post subject: Panel |
|
|
| 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
|
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 386 Location: Fairfax, Virginia
|
Posted: Wed Jun 27, 2007 6:22 pm Post subject: |
|
|
| 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: 89 Location: Wilkes Barre Pa
|
Posted: Fri Jun 29, 2007 1:25 am Post subject: |
|
|
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 |
|
 |
|