Re: Themes



On Thu, 14 Nov 2002, Harring Figueiredo wrote:


--- TORRI Vincent <Vincent Torri math u-bordeaux fr> wrote:
On Thu, 14 Nov 2002, Harring Figueiredo wrote:


 Folks,

 I am trying to apply thems to my app but I cannot find a way to do so- I
notice that some applications obey the theme I have set on my Gnome
session,
and some don't (including my own). How can I do that ? something
programattically ? or some sort or rc file ?
 I tried to look for docs on that, but all I get is theme pages.

 Can Anyone point me to where I can find info on this  or send me some code
example ?


you can call

 void gtk_rc_parse(gchar *file);

just after gtk_init(...);, where file is your rc file. You can look at the 
tutorial for more info.

Vincent TORRI


  Thanks in advance.

Harring

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


-- 
TORRI Vincent
Mathematiques Appliquees Bordeaux                                            
   
Institut de Mathematiques                                                    
  
Universite Bordeaux 1                                                        
  
351 cours de la liberation                                                   
  
33 405 Talence cedex - France                                                
  
                                                                             
  
Tel : 33 (0)5 57 96 21 42                                                    
  
Fax : 33 (0)5 56 84 26 26                                                    
  
--



   Thank for the info -- 

    What is the file name I should pass if I want to use the theme currently
used by the WM (gnome in my case?


In my case, gnome save my themes style in 

  $HOME/.themes/Name_Of_The_Theme/gtk/gtkrc

There is also some of the gtkrc files in the dir :
/usr/share/themes/Name_Of_The_Theme/gtk/

regards

Vincent TORRI

     Thanks,

Harring.

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com


-- 
TORRI Vincent
Mathematiques Appliquees Bordeaux                                                
Institut de Mathematiques                                                       
Universite Bordeaux 1                                                           
351 cours de la liberation                                                      
33 405 Talence cedex - France                                                   
                                                                                
Tel : 33 (0)5 57 96 21 42                                                       
Fax : 33 (0)5 56 84 26 26                                                       
--




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