http://qs321.pair.com?node_id=714458

renegadex has asked for the wisdom of the Perl Monks concerning the following question:

hi! I am making a simple program wherein I have 2 windows. the main window has a button where it will launch the 2nd window. I wanted the main window to detect the click signal (and perform some task) from one of the buttons inside the 2nd window. how do i catch that signal? I'm using PERL ang GTK2.
  • Comment on Get Signal From Other Window using GTK2

Replies are listed 'Best First'.
Re: Get Signal From Other Window using GTK2
by Anonymous Monk on Sep 30, 2008 at 07:03 UTC
    my $one_window = ... my $two_window = ... $two_window->signal_connect( ... sub { $one_window->Boogie } )