Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by merlyn (Sage)
on Oct 28, 2002 at 15:07 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found