Re: gnome dialog



Mike Palczewski <mpalczew u washington edu> writes:
> is there a way to make escape not close a gnome_dialog? I am putting vi in a 
> ZvtTerm in a gnome_dialog. Escape needs to be pushed in vi.
> 

Sounds like you should use GnomeApp or GtkWindow instead of
GnomeDialog.

You can probably connect to key_press_event and
gtk_signal_emit_stop_by_name() if Escape is pressed though, and
manually forward escape to the currently focused widget.  See
gtk_window_key_press_event() in gtk/gtkwindow.c to see how it's done.

Havoc




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