> > > > 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, GDK_WINDOW(window));
> > >
> > > 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".
> >
> > I got this mesg too, but the font was changed
> >I have to withdraw this statement I'm afraid. I'm now on different box(using linux), but it does not work. Will try later on win32 box. Jiri -- Jiri Pavlovsky [EMAIL PROTECTED] tel: +420221517657 _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
