Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Get Signal From Other Window using GTK2

by renegadex (Beadle)
on Sep 30, 2008 at 03:17 UTC ( [id://714458]=perlquestion: print w/replies, xml ) Need Help??

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 } )

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://714458]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-20 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found