passing on signals



Hi,

  Does anybody know the correct way to pass on keypressed signals
received by one widget to another? Either of the following two lines
causes gtk to segfault when signal received by GtkCombo is passed to
GtkEntry:

gtk_signal_emit_by_name (GTK_OBJECT (entry),
"key_press_event",event,data,NULL);

gtk_signal_emit_by_name (GTK_OBJECT (entry),
"key_press_event",event,data);


TIA,

Edscott Wilson Garcia








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