Re: [Vala] Set a RGBA colourmap on Gtk.Window



في ر، 18-01-2012 عند 16:55 +0000 ، كتب David Gomes:
Hey, I read the following on Valadoc here:
http://valadoc.org/vte-2.90/Vte.Terminal.background_transparent.html,

Note: When using a compositing window manager, you should instead set a
RGBA colourmap on the toplevel window, so you get real transparency.

Now my doubt is how to set an RGBA colormap on a widget or on a Gtk.Window?

See the following methods:

http://valadoc.org/gdk-3.0/Gdk.Screen.get_rgba_visual.html
http://valadoc.org/gtk+-3.0/Gtk.Widget.set_visual.html

HTH,
Abderrahim




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