Re: set a font style for all text widget
- From: Vlad Harchev <hvv hippo ru>
- To: Tamara <ta76 iol it>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: set a font style for all text widget
- Date: Wed, 22 Aug 2001 21:06:38 +0500 (SAMST)
On Wed, 22 Aug 2001, Tamara wrote:
Hi Tamara!
You should call
gtk_rc_parse_string("style \"user-font\"\n
{ font=\"-cronyx-helvetica-bold-r-normal-*-*-100-*-*-p-*-koi8-r\" } \n
widget_class \"*\" style \"user-font\"");
Insert the XLFD of the font you need of course. After that you should let gtk
redraw widgets, something like
while (gtk_events_pending())
gtk_main_iteration();
or something similar (typing from memory).
> Hi!
> my name is Tamara, I'm new with gtk and I've a problem...
> It is possible to set a only one font style for all the text widget?
> I know how to change font for a single widget but I like to use only one
> "function" for all.
>
> Thank you and bye
> Tamara
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]