At 11:20 PM 1/27/03 +0100, you wrote:
>Look at GtkScrolledWindow. As I see it, it is just a three-liner to make
>everyone happy:
>- change the GtkWindow in mcc for a GtkScrolledWindow
>and 1 line add to set default scrolling policy
I tried it :
-my $window_global = gtkset_size_request(Gtk2::Window->new('toplevel'),
$global_width, $global_height);
+my $window_global = gtkset_size_request(Gtk2::ScrolledWindow->new(undef,
undef), $global_width, $global_height);
my $pending_app = 0;
%I
Result :
[root@duron sbin]# Is gtk2-perl missing Gtk2::ScrolledWindow::add_accel_group ?
Call trace:
Gtk2::_Object::AUTOLOAD() called from /usr/lib/libDrakX/ugtk2.pm:392
ugtk2::create_factory_menu_() called from /usr/lib/libDrakX/ugtk2.pm:396
ugtk2::create_factory_menu() called from /usr/sbin/drakconf.real:317
So much for the one liner.
This discussion is tiresome. Since everyone is persuaded that this is *easy*,
I think that people who think it is easy should implement it. I'm absolutely
no specialist of perl or Gtk.
Don't forget that other utilities are written in C and don't depend on mcc
for their screen size, too.
Gerard