Re: intercepting "key_press_event"



"Dugas, Alan" <alan dugas analog com> writes:
Is there any way of intercepting the "key_press_event" before the GtkEntry
widget contained within a GtkFileSelection widget gets it? 

If you can get a pointer to the entry in the file selection, then it's
easy, just connect to key_press_event on the entry. You should be able
to get a pointer; if there isn't one in the GtkFileSelection struct,
you can at least do some awful hack walking the container hierarchy
(gtk_container_children()).

Havoc




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