GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Nov 26, 2014 9:23 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: transparent widget and menu
PostPosted: Thu Jan 10, 2008 2:05 am 
Offline
Familiar Face

Joined: Mon Jan 07, 2008 2:32 am
Posts: 5
hi to all.
I'm coding a program.I want make widgets and menu transparent.How can i get it.I have no idea how to get it?Is there anyone know how to get it?Please help me!Thanks a lot!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 7:32 am 
Offline
GTK+ Guru

Joined: Fri Jan 04, 2008 3:17 pm
Posts: 183
Location: France (92340 Bourg La Reine)
First, transparent widgets are a style issue. I see no reason why any application should demand them (imagine a user disliking them).

Second, all GTK widgets can be more or less transparent by default. This is how they behave for me. Setting widget transparency globally (e.g. thru Gnome or XFCE global configurations) is enough.

And I don't know how to get them programmaticallly....

Why do you demand transparent widgets, instead of just using the default GTK behavior -which can behave transparently if so configured?

_________________
Basile Starynkevitch (France)
http://starynkevitch.net/Basile/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 9:32 am 
Offline
Familiar Face

Joined: Mon Jan 07, 2008 2:32 am
Posts: 5
Because not all widgets will be transparent.I just need some of the widgets used in my program.The program is being coded for mobile phone.I want make UI cool


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 3:36 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
If this will work on your target platform, you'll probably want to do this through theming. Take a look at Resource Files and Tutorials at art.gnome.org

_________________
Micah Carrick - Forum Administrator
http://www.micahcarrick.com


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 7:54 pm 
Offline
GTK+ Guru

Joined: Fri Jan 04, 2008 3:17 pm
Posts: 183
Location: France (92340 Bourg La Reine)
Micah Carrick wrote:
If this will work on your target platform, you'll probably want to do this through theming. Take a look at Resource Files and Tutorials at art.gnome.org



This answer suggests that text tags might be customized as I asked here but I don't see how to acheve such text tag customization. Did I miss something?

Regards.

_________________
Basile Starynkevitch (France)
http://starynkevitch.net/Basile/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 11, 2008 6:59 am 
Offline
Familiar Face

Joined: Mon Jan 07, 2008 2:32 am
Posts: 5
Micah Carrick wrote:
If this will work on your target platform, you'll probably want to do this through theming. Take a look at Resource Files and Tutorials at art.gnome.org


Thank you very much!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 15, 2008 8:21 am 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
Gtk+ windows with alpha channels
http://plan99.net/~mike/blog/?p=38

GTK+, RGBA: TRANSPARENT WIDGETS WITH THE MURRINE ENGINE!
http://arstechnica.com/journals/linux.a ... ncy-to-gtk
http://www.cimitan.com/blog/2007/12/12/ ... ine-engine


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 6:48 am 
Offline
Familiar Face

Joined: Mon Jan 07, 2008 2:32 am
Posts: 5
caracal wrote:


Thank you very much! The comments help very much! I saw the news about the transparent gtk theme engine several days ago .But because the new edition does not release, so I don't know how to use it to achieve my goal.


Top
 Profile  
 
 Post subject: transparency
PostPosted: Fri Feb 27, 2009 10:56 am 
Offline

Joined: Mon Feb 16, 2009 12:55 pm
Posts: 1
Hi All,

I m new to gtk

I am trying to set some colors in gtk widget and after that fading that widget but unable to get this.

Can anybody tell me how can i make color widget transparent slowly and slowly

Waiting for reply


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 09, 2009 1:45 pm 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
Here is small tutorial on gtk theme transparency
http://fosswire.com/post/2009/3/transparent-gtk-themes/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group