RE: Propertybox Apply handler called twice??



Just a thought... It sounds like your connected to a "clicked" signal and not a
"pressed" signal.



                                -- Stupid Genius

----------
From:         Andrew King[SMTP:kingos optushome com au]
Sent:         Thursday, October 05, 2000 11:21 AM
To:   gtk-app-devel-list
Subject:      Propertybox Apply handler called twice??

Hi everyone,

I have used the following code to connect the apply button of a 
propertybox to its signal handler.
gtk_signal_connect (GTK_OBJECT (propertybox2), "apply",
                     GTK_SIGNAL_FUNC (on_propertybox2_apply),
                     NULL);

However, I have a simple print statement inside the handler, and it is 
evident that the handler is getting
called TWICE every time apply is pressed. (This is also the same for okay).

Can anyone help?

Why is this happening?

Thanks,
Andrew.


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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