[Gtk-sharp-list] Example of Pango.FontDescription

Todd Berman tberman@gentoo.org
Thu, 4 Sep 2003 15:57:44 -0400


Already have:

http://bugzilla.ximian.com/show_bug.cgi?id=47959

> -----Original Message-----
> From: gtk-sharp-list-admin@lists.ximian.com 
> [mailto:gtk-sharp-list-admin@lists.ximian.com] On Behalf Of 
> Martin Willemoes Hansen
> Sent: September 4, 2003 3:16 PM
> To: Todd Berman
> Cc: gtk-sharp-list@lists.ximian.com
> Subject: Re: [Gtk-sharp-list] Example of Pango.FontDescription
> 
> 
> On Thu, 2003-09-04 at 16:33, Todd Berman wrote:
> > 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.
> 
> Yes, I think that Pango.FontDescription is not marshalled 
> correctly yet,
> im having problems with is as well in DiaCanvas#
> 
> Please fill a bug-report.
> -- 
> Martin Willemoes Hansen
> 
> --------------------------------------------------------
> E-Mail	mwh@sysrq.dk	Website	mwh.sysrq.dk
> IRC     MWH, freenode.net
> --------------------------------------------------------      
>          
> 
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>