Gtk Widget Transparency
- From: Tristin Celestin <tristin_celestin yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: Gtk Widget Transparency
- Date: Thu, 4 Feb 2010 09:45:13 -0800 (PST)
I am trying to understand how to make individual widgets in GTK
transparent, like how it is done in gnome-terminal, as opposed to
setting the opacity of an entire heirarchy via set_opacity ().
All the examples demonstrating transparent widgets use a cairo canvas
and require that you perform all the drawing yourself, such as the
example at
http://mikehearn.wordpress.com/2006/03/26/gtk-windows-with-alpha-channels/,
posted in a November 2009 mailing about the same topic. However, I
don't want to draw a custom widget, I just want to adjust the opacity of
an existing, non-toplevel one.
How do I do this?
Tristin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]