gtkrc file questions



Hi to all
I have 2 questions about gtkrc files.
 I have a application with several CList Widgets
 but I want to change the font of only one Clist
 and if possible only the text inside not the colom header

 I am only able to assign the font to the whole widget_class
  by   widget_class "*GtkCList*"  style "myfont"
  if I try to assign only  one clist widget
       the name is set by gtk_widget_set_name(my_clist,"my_clist")
  this does not work    widget "*my_clist*.GtkClist*" style "myfont"
                or      widget "*my_clist.GtkCList"   .......
or widget "my_clist.GtkCList" ....... no version works.
  how to assign this correct?

with Redhat 7.1 I have to define the font with
              font = "-misc-*-*-*................"
with Suse 8.2 only
              fontset = "-misc-*-*-*.............."
works
       fontset on RedHat results in a errormessage output
what is the difference
By the way  the application is a gtk 1.2 Version

who can help?

best wishes
günther

--
R=I+S  Rapp Informatik Systeme GmbH
       Rosenbühlstr. 24
       D-89182 Bernstadt
       Tel:  +49 (0)7348-7755
       Fax:  +49 (0)7348-6086
E-MAIL  mailto: guenther rapp-informatik de
WEB             www.rapp-informatik.de

PS:
Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format
Bitte lesen Sie  http://www.fsf.org/philosophy/no-word-attachmentsi.de.html
Please don't send me any attachment in Microsoft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html



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