Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://208518]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-08-16 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?