Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

•Re: multiple method calls against the same object (f.ex GUI programming)

by merlyn (Sage)
on Oct 28, 2002 at 15:07 UTC ( #208518=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (my $window = Gtk::Window->new("toplevel"))
      ->signal_connect(delete => sub { Gtk->exit(0); return })
    ...
      ->border_width(15)
      ->add($btn)
      ->show;
    
  2. or download this
    my $window = Gtk::Window->new("toplevel");
    for ($window) {
    ...
      $_->add($btn);
      $_->show;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://208518]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-01-16 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (149 votes). Check out past polls.