Re: adding transparency to Gtk widgets

2009-11-09 Thread harshavardhanreddy mandeepala
Hi Ce,

Thanks for your help.

It is working fine. Now i could able to display my application with
transparancy support.

But is there any way to add this into gtkrc file.

I mean some thing like
alpha =0.6

so that for all the applications the alpha value will be 0.6. and all the
applications will be transparent. so that explicitly we need not to supply
the alpha value programmatically.

I try to put
alpha = 0.6 in my gtkrc file inside style default  structure. But it is
not working.


If you can provide me some input inthis regard it will be helpful.



Thank you,

Regards,
Hvr






On Sat, Nov 7, 2009 at 4:50 AM, cet cet xni...@yahoo.com wrote:

 Check out the link below;

 http://mikehearn.wordpress.com/2006/03/26/gtk-windows-with-alpha-channels/

 --- On Fri, 11/6/09, harshavardhanreddy mandeepala hvreddy1...@gmail.com
 wrote:

  From: harshavardhanreddy mandeepala hvreddy1...@gmail.com
  Subject: Re: adding transparency to Gtk widgets
  To: gtk-app-devel-list@gnome.org
  Date: Friday, November 6, 2009, 4:08 AM
  Hi Friends,
 
  Any ideas on this? Any suggestions are welcome.
 
 
  Harsha
 
 
 
 
 
  On Wed, Nov 4, 2009 at 7:09 PM, harshavardhanreddy
  mandeepala 
  hvreddy1...@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
  
  
  
  
  
  
  
  ___
  gtk-app-devel-list mailing list
  gtk-app-devel-list@gnome.org
  http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
 




___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: adding transparency to Gtk widgets

2009-11-06 Thread harshavardhanreddy mandeepala
Hi Friends,

Any ideas on this? Any suggestions are welcome.


Harsha





On Wed, Nov 4, 2009 at 7:09 PM, harshavardhanreddy mandeepala 
hvreddy1...@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







___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


adding transparency to Gtk widgets

2009-11-04 Thread harshavardhanreddy mandeepala
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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list