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

Re: question about radio and check boxes



On Tue, 01 Feb 2000 20:21:19 -0500, Deborah Swayne wrote:
>> The apearance of Check and Radio boxes is completely handled by themes.
> 
> Does anyone have any sample code for using themes in gtk?  I
> can't figure out where to look.

It's very simple. First your ~/.gtkrc is loaded; if that fails, the system
wide gtkrc is loaded; if that fails, the default theme is used. To use a
special theme for your application, use

  gtk_rc_parse("rcfile-with-the-theme-you-like")

right after gtk_init().


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2785859  Fax: +31-15-2781843  Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/





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