japhy has asked for the wisdom of the Perl Monks concerning the following question:

Can other people verify this oddity for me? I would like to create a Gtk2 window that is not resizable, but is larger horizontally than vertically (such as a 640x480 window). Here's a simple example:
#!/usr/bin/perl use Gtk2 -init; $window = Gtk2::Window->new; $window->set_size_request(200, 100); $window->set_resizable(0); $window->add(Gtk2::Label->new("Square?")); $window->show_all; Gtk2->main;
For some reason, the window allows itself to be resized vertically so it can be 200x200. Can other people verify that this happens? I'm on Windows, but non-Windows verification would make me happier.
_____________________________________________________
Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

Replies are listed 'Best First'.
Re: Gtk2 'window' widget
by traveler (Parson) on Mar 17, 2005 at 00:03 UTC
    I get the same behavior, but I am running a pretty old version on my XP box. If you are getting this with the current version, you might try asking the gtk-perl list.
Re: Gtk2 'window' widget
by Errto (Vicar) on Mar 17, 2005 at 00:53 UTC
    Tried it on Linux just now and it seems to work as expected. No resizing allowed. I'm running Perl 5.8.3, gtk2-2.4.13, and perl-Gtk2 1.061