Re: gtk2 win32 and default font



On Wed, 2003-07-02 at 11:56, Sven Neumann wrote:
> Hi,
> 
> "Kiyoshi TAKAHASHI" <takahash isit or jp> 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 proposed :(
> 
> If you want to change the font-size for all GTK2 applications, all you
> need is to edit the gtkrc-2.0 file. I am sure this file does also
> exist on Win32. You just need to add a line that says:
> 
>  gtk-font-name="Sans 18"
> 
> or similar.
Hi, 
I would also like to know how to do it for SINGLE application. In
gtk-1.2 there was something like set_default_style. But there is no
equivalent in gtk2.

Regards,

olaf Fraczyk







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