[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How can I add small font and new line recognisable string into a CList cell?
- From: "Jean-Christophe Berthon" <Jean-Christophe Berthon cgey com>
- To: "kai" <tklam fieldtech com hk>,"gnome" <gtk-app-devel-list gnome org>
- Subject: Re: How can I add small font and new line recognisable string into a CList cell?
- Date: Wed, 17 Apr 2002 13:36:03 +0200
for the small font thing you can use GtkStyle :
pxUneditableStyle = gtk_style_copy(gtk_widget_get_default_style());
ttfPolice = gdk_font_load("-*-arial-bold-i-*-*-*-200-*-*-P-*-iso8859-1");
/* 200 is big you can change it to 100 or something else to make it smaller
*/
if (ttfPolice != NULL)
{
gdk_font_unref(pxUneditableStyle->font);
pxUneditableStyle->font = ttfPolice;
}
gtk_style_ref(pxUneditableStyle);
Best regards,
---
Jean-Christophe Berthon
Cap Gemini -- Ernst & Young
France
Skill IS -- Image Quality
Email: Jean-Christophe.Berthon@cgey.com
Tel: (+33) 561 31 6671
----- Original Message -----
From: "kai" <tklam@fieldtech.com.hk>
To: "gnome" <gtk-app-devel-list@gnome.org>
Sent: Wednesday, April 17, 2002 12:34 PM
Subject: How can I add small font and new line recognisable string into a
CList cell?
> Thanks ^.^
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]