Re: transparent glass layer over windows
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Re: transparent glass layer over windows
- Date: 25 Sep 2001 13:49:48 PDT
On Tue, 25 Sep 2001 15:25:23 +0100 (BST), Martin Portman said:
i want to put a transparent 'glass' frame over a window, to intercept
mouse events, possbily draw on the glass, and pass mouse events on to
what's below the glass.
think of a gesture recogniser, receiving mouse events/signals, drawing
the stroke, but sending key events down, and removing the stroke.
Try creating an input-only window? If you want to draw on it,
then it gets trickier, you can't draw on an input-only window.
You could create a GC that allows overlap onto children and
draw on the root window. This works for screen grab applications
that need to draw a rectangular mark when grabbing the screen.
--
--
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]