[Java-gnome-developer] Can't catch a clicked event of FileSelector
Brought to you by:
afcowie
From: FORT D. <pop...@fr...> - 2002-12-12 23:42:49
|
The example of FileSelector doesn't catch the clicked signal of the Ok button, and i have the impression that it's because in GTK2.0 the signal registration is dynamic. In org.gnu.gtk.event.ButtonEvent types of signal are allocated as 1, 2, 3... were they should be get by using g_signal_lookup. My impression is that if buttons are created first everything is fine because signals are registered in the expected order, but in the FileSelectionBox the Gtk core registers other signal before registering the signal for Button, so it's not anymore 1, 2, 3.... And finally as the signal aren't registered correctly the corresponding callbacks are never called. Please correct me if i'm wrong, and consider telling me "It's late your should be sleeping, or please drink another cup of coffee". -- %--LINUX-HTTPD-PIOGENE----------------------------------------------------% % -datamining <-/ | .~. % % -networking/PHP/java/JSPs | /V\ L I N U X % % -opensource | // \\ >Fear the Penguin< % % -GNOME/enlightenment/GIMP | /( )\ % % feel enlightened.... | ^^-^^ % % HomePage: http://www.enlightened-popo.net % %-------- -- This was sent by Djinn running Linux 2.4.20 -- --------------% |