Re: [gtk-list] Fonts
- From: Brandon Long <blong fiction net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Fonts
- Date: Wed, 9 Sep 1998 17:32:57 -0700
On 09/09/98 Jordan Nelson uttered the following other thing:
> Could somebody give me an example on how to use fonts w/ gtk.
>
> Ex: gtk_text_insert( GTK_TEXT ), font, NULL, NULL, buffer, nchars );
>
> I need to know how to declare and use 'font' in that statement.
GdkFont *font;
font = gdk_font_load ("-Adobe-Helvetica-Medium-R-Normal--*-120-*-*-*-*-*-*");
gtk_text_insert (GTK_TEXT (text), font, NULL, NULL, buffer, nchars);
gdk_font_unref (font);
Brandon
--
Brandon Long "The *reason* for exploding the planet is so you
Fiction Networks can surf on the shock waves."
-- Melanie Rimmer
blong@fiction.net http://www.fiction.net/blong/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]