Re: GtkArg changes
- From: Havoc Pennington <hp redhat com>
- To: Tim Janik <timj gtk org>
- Cc: James Henstridge <james daa com au>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: GtkArg changes
- Date: 14 Dec 2000 11:12:15 -0500
Tim Janik <timj gtk org> writes:
> yes, i'm aware, i mailed havoc about those, as i don't actually know
> what his tabs are about.
Tabs are PangoTabArray, should be a boxed type. (Probably should be a
boxed type registered by Pango, but for now I'll just put it in
> for the font description however, BOXED or POINTER is a pretty bad choice,
> instead, he should take something like STRING and then internally use
The "font" arg takes a string, and "font_desc" takes a font
description struct. You may want to use the struct if you are
e.g. deriving the font programmatically, for example say you are
creating 10 fonts in a range of sizes from 10 to 100 points, you don't
want to sprintf the sizes into strings.
Currently the text widget just segfaults all over the place because
insert_text on the buffer doesn't work, which is why I haven't fixed
this. I may revert insert_text to use GTK_TYPE_POINTER for now to get
past the segfaults (I know this won't help you James).
] [Thread Prev