Re: Changing button-font in rc file
- From: Andreas Stricker <andreas stricker fela ch>
- To: gtk-app-devel-list gnome org
- Subject: Re: Changing button-font in rc file
- Date: Fri, 19 Aug 2005 09:52:53 +0200
sadhees kumar wrote:
1. I would like to know how to change the fonts of a button through
rcfile. The way which i tried was something like,
font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
Try font_name instead of font:
font_name="Verdana Bold 34"
2.In the same example above, I would also like to know how to change
the widget-style of one particular button widget. I set the name of
the widget using the command gtk_widget_set_name(); , but after that
how to proceed in the rcfile?
If you named your widgets uniqe you can use a line like this:
widget "*MyWidgetName*" style "mystyle"
Cheers,
Andy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]