[Gtk-sharp-list] Example of Pango.FontDescription
Todd Berman
tberman@gentoo.org
Thu, 4 Sep 2003 10:33:00 -0400
I am just wondering if anyone has any examples of using
Pango.FontDescription, particularly in Gtk.TextTag.
Right now when I set it with:
Tag.FontDesc = Gtk.Widget.DefaultStyle.FontDescription; //or .Copy() or
.CopyStatic();
I get:
(<unknown>:1348): GLib-GObject-WARNING **: gvalue.c:93: cannot
initialize Gvalue with type `GBoxed', this type has no GTypeValueTable
implementation
(<unknown>:1348): GLib-GObject-CRITICAL **: file gboxed.c: line 487
(g_value_set_boxed): assertion `G_VALUE_HOLDS_BOXED (value)' failed
(<unknown>:1348): GLib-GObject-CRITICAL **: file gobject.c: line 1019
(g_object_set_property): assertion `G_IS_VALUE (value)' failed
And when you attempt to access it you get a nullref.
Any pointers would be appreciated.
--Todd