Re: window resizing

2007-10-08 Thread Jeffrey Ratcliffe
On 05/10/2007, Laurent Klinger <[EMAIL PROTECTED]> wrote: > manually resize (downsize) the window, but it would be nicer if it > would fit tightly to its content by itself. How do you ask GTK to > adopt this kind of behaviour? Where I have had this problem, I have added a $window -> resize(100, 10

Re: window resizing

2007-10-06 Thread muppet
On Oct 6, 2007, at 9:31 AM, Jaap Karssenberg wrote: > Hmmm looks like "$window->set_policy()" should be available to set > that > behavior [1]. However perl Gtk2::Window does not seem to have a > binding > for this call. The C docs suggest to use set_resizable instead of > set_policy, but no

Re: window resizing

2007-10-06 Thread Tijmen Ruizendaal
On a usability note, wouldn't it be very anoying if the 'next' button moves from place, because the window is auto resizing everytime? This is not a solution ofcourse, but this was the first thing which came to my mind. Maybe add a key shortcut as well? Bye, Tijmen On 10/6/07, Jaap Karssenberg <

Re: window resizing

2007-10-06 Thread Jaap Karssenberg
Hi, Hmmm looks like "$window->set_policy()" should be available to set that behavior [1]. However perl Gtk2::Window does not seem to have a binding for this call. The C docs suggest to use set_resizable instead of set_policy, but no mention there of any auto behavior. Anyone knows why this cal

window resizing

2007-10-05 Thread Laurent Klinger
Hello, I have a simple application, whose toplevel window has the following structure : +-VBox--+ |[Image]| +---+ |+--HBox---+| ||[Next] [Quit]|| |+-+| +--