dialog window resize



Hey,

my problem is I try to set the default window size for a dialog window and I don't want the user resize it.
But it is not working for me. If I set the resizable to false the default window size is not working anymore.
 
-------------------------
#!/usr/bin/perl -w
use Gtk2 qw/-init/;

my $window = Gtk2::Dialog->new;
$window->set_position('GTK_WIN_POS_CENTER');
$window->set_default_size(610, 450);
# $window->set_resizable(0);


$window->show_all;

Gtk2->main;

0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]