Re: Gtk font/style question
- From: shunter bigsky net
- To: Matthew Guenther <mguenthe netcom ca>
- Cc: gnome-devel-list gnome org
- Subject: Re: Gtk font/style question
- Date: Tue, 21 Mar 2000 22:32:04 -0700
> > On Thu, Mar 09, 2000 at 09:22:07PM -0500, Matthew Guenther wrote:
> > The following is an ugly way to get the font xlfd.
> >
> > #include <gdk/gdkprivate.h>
> >
> > GdkFont* font = style->font;
> > GSList *list = ((GdkFontPrivate*)font)->names;
> > gchar *xlfd = (gchar*)list->data;
Me again. It seems the names field is only in the latest versions of gdk.
I haven't bothered to look, but someone said 1.2.7 and later.
Just thought I'd pass it along as I might affect whether or not you
want to use it.
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]