Re: Cannot catch signals from buttons of a gnome-dialog



On Tue, 2002-08-27 at 04:33, Sylvain Daubert wrote:
Hi,

I'm using Gtk-Perl via Glade, and i created a gnome-dialog with stock buttons. On these buttons, via Glade, 
I put signal handlers. But, when I run my app and click on these buttons, handlers are never called.
Where do I make a mistake ?


I use:        Gtk+ 1.2.10
      Gnomelibs 1.4.1.7
      Gtk-perl (named Gnome-Perl) 0.7008
      Glade-perl 0.60


Thanks.

Sylvain

Without seeing the code it is difficult to tell what might have gone
wrong.  My first guess is that the signals are not connected to the
handlers.  Does your code have lines like:

$gladeobj->signal_autoconnect_from_package('main');

or 

$gladeobj->signal_autoconnect;

or

$gladexml->signal_connect_full (
        'on_app1_destroy',
        sub {
                Gtk->main_quit;
        }
);

If you would like I could take a look at your code and tell you more,
but this about the best I can do blind.

-- 
Today is Prickle-Prickle the 20th day of Bureaucracy in the YOLD 3168
Keep the Lasagna flying!

Missile Address: 33:48:3.521N  84:23:34.786W




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]