Pavlovsky [EMAIL PROTECTED]
To: Rastatter, Ken (OH32) [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 12:41 AM
Subject: Re: gtk2 win32 and default font
On Tuesday 01 July 2003 17:25, Rastatter, Ken (OH32) wrote:
Jiri Pavlovsky wrote on Thu, 26 Jun 2003:
I'm using gtk
: Wednesday, July 02, 2003 5:34 PM
Subject: Re: gtk2 win32 and default font
On Wednesday 02 July 2003 08:01, Kiyoshi TAKAHASHI wrote:
- Original Message -
From: Jiri Pavlovsky [EMAIL PROTECTED]
To: Rastatter, Ken (OH32) [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003
Hi,
Kiyoshi TAKAHASHI [EMAIL PROTECTED] writes:
That's strange because when I use this, the font is not changed and
I have the error message: assertion GDK_IS_COLORMAP(colormap)
failed. Up to now, I still wasn't able to change the default font
size, in spite of the numerous solutions
On Wed, 2003-07-02 at 11:56, Sven Neumann wrote:
Hi,
Kiyoshi TAKAHASHI [EMAIL PROTECTED] writes:
That's strange because when I use this, the font is not changed and
I have the error message: assertion GDK_IS_COLORMAP(colormap)
failed. Up to now, I still wasn't able to change the
On Wednesday 02 July 2003 08:01, Kiyoshi TAKAHASHI wrote:
- Original Message -
From: Jiri Pavlovsky [EMAIL PROTECTED]
To: Rastatter, Ken (OH32) [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 12:41 AM
Subject: Re: gtk2 win32 and default font
On Tuesday 01 July
I found the following to work too:
-
PangoFontDescription *pdf;
GtkStyle *style;
.
.
.
style = gtk_style_new();
pdf = pango_font_description_from_string(Sans 9);
style-font_desc = pdf;
gtk_style_attach(style,
Jiri Pavlovsky wrote on Thu, 26 Jun 2003:
I'm using gtk+-2.2.1 on win32. I need to change default font.
After gtk_init() has been called, I do the following to change the font:
gtk_rc_parse_string(gtk-font-name=\sans 9\ \n);
I hope this helps.
--
Ken Rastatter, Senior Design Engineer
On Tuesday 01 July 2003 17:25, Rastatter, Ken (OH32) wrote:
Jiri Pavlovsky wrote on Thu, 26 Jun 2003:
I'm using gtk+-2.2.1 on win32. I need to change default font.
After gtk_init() has been called, I do the following to change the
font:
gtk_rc_parse_string(gtk-font-name=\sans 9\
Hi,
I'm using gtk+-2.2.1 on win32. I need to change default font.
I tried 2 approaches)see below) I found in mailing list archive, but
none of them worked (no error message, but the font didn't change).
Regards,
Jiri
1)
GtkSettings *settings;
settings = gtk_settings_get_default();