Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Get Signal From Other Window using GTK2

by renegadex (Beadle)
on Sep 30, 2008 at 03:17 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2022-05-24 19:15 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (84 votes). Check out past polls.