No better way? (was Re: Ignore input)
- From: Taura Milana <learfox furry ao net>
- To: GTK App Devel <gtk-app-devel-list gnome org>
- Subject: No better way? (was Re: Ignore input)
- Date: Tue, 15 Jan 2002 20:20:40 -0800
On 2002.01.15 15:01 Havoc Pennington wrote:
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.
Would that take the pointer away from other (other applications)
windows as well?
Isn't there a better way? Like how dialogs work, setting a dialog
modal will discard all input events for other windows and only
let the dialog window process events.
There must be a way to do just that except not process any input
events period.
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]