Help for this page

Select Code to Download


  1. or download this
    my $window = Gtk2::Window->new( "toplevel" )->call_method_list(
        signal_connect   => [ delete_event => sub { Gtk2->main_quit } ],
    ...
            signal_connect => [ clicked => sub { Gtk2->main_quit } ] ),
        'show_all',
    );
    
  2. or download this
    use Carp qw( croak );
    sub UNIVERSAL::call_method_list {
    ...
      
      return $target;
    }