Re: Ignore input



Taura Milana <learfox furry ao net> writes:
Is there a way to block or ignore input events on a GtkWindow
for a indefinate period?  I want to be able to ignore events
like "key_press_event" and "button_press_events" while the
GtkWindow is `busy processing'.  (but not setting it insensitive)


You can connect to the events and gtk_signal_emit_stop_by_name(), 
but if you break certain invariants (such as press/release coming in
pairs) you can confuse GTK.

Another approach is to grab the pointer on a GtkInvisible.

Havoc



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