Re: How to create layered windows or widgets?
- From: "Tristan Van Berkom" <tvb gnome org>
- To: "Skee Lin" <skee lin gmail com>
- Cc: gtk-list gnome org
- Subject: Re: How to create layered windows or widgets?
- Date: Thu, 24 Jan 2008 11:25:28 -0200
On Jan 24, 2008 12:16 AM, Skee Lin <
skee lin gmail com> wrote:
Tristan Van Berkom 写道:
I really appreciate the helpful reply from Tristan. However, there is
another problem that does irregular window occupy much cup time?
I want to create a window to show lyrics of songs. User can move the
window by clicking on the text while clicking on the other areas will be
send to lower window. I think cairo can convert the text to pixmap mask,
but I'm afraid the nonstop changing of the shape will occupy much cpu time.
Maybe I need to describe my problem more simply: How to show a window
and let all clicking messages through, just like the window is not exist?
Any information would be appreciated.**
Your use case is particular, you said you want the *Desktop* also to recieve
mouse clicks, and other applications too.
You definitely can accomplish this with layered windows in YOUR app,
but once you eat up the gdk events from the X server, I dont know how
you can send them back to the underlying random window.
It might be possible already, anything is surely is possible if you hack
the X server to do it ;-)
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]