Re: adding transparency to Gtk widgets



Hi Friends,

Any ideas on this? Any suggestions are welcome.


Harsha





On Wed, Nov 4, 2009 at 7:09 PM, harshavardhanreddy mandeepala <
hvreddy1110 gmail com> wrote:

Hi,
Is there any way to make Gtk widgets transparent.

By using Murrine theme engine and little modifications to  my gtk
application i could do.

In my application I added the following lines

For my main window/widget i did the fallowing( as per Cimi's update).

/***
screen = gtk_widget_get_screen (totem->win);
colormap = gdk_screen_get_rgba_colormap (screen);

if (colormap)
gtk_widget_set_default_colormap (colormap);
**/

It's working fine.

But If I don't use murrine theme engine the effect(transparancy/glassy)
will not be seen.

I don't want to use murrine theme engine. Instead i want to modify in Gtk
library.

Is there any update on this.


Thanks in advance.


Regards,
HVR










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