Re: drawing on X11, above all applications, emulating an alpha channel

On Tue, Aug 21, 2007 at 12:28:30AM -0700, Ana wrote:
> I've been messing around with my little ir remote control recently,
> having fun...   and I've been, sort of, longing for some way to make the
> current "tv-channel" show up on my screen in the upper right hand corner
> of my monitor.  You know?  Like my TV displays the new channel number
> for 1 or 2 seconds after I press, for example, the channel-up button.  I
> want to see the numbers up on the screen above any and all other
> applications.  I don't want to have to rely on an application (like
> mplayer) running in full-screen mode in order to do this.
> So, I've been wondering how to look for an application that already does
> this.  And, I wonder how to make something like this happen, (which is
> much more fun of course).
> How to do it?

See examples/wheelbarrow/wheelbarrow.c in Gtk+ for a shaped
window example.  You might also want to make the window
unmanager by creating it as GTK_WINDOW_POPUP.



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