Re: Howto underline text

"Paul Gimpelj" <[email protected]> Sat, 21 Aug 2004 13:54:52 -0400
Newsgroups gmane.comp.gnome.gnomemm
Message-ID <034401c487a7$f6c0b890$c901010a@zoom>
I haven't used it personally,

but can't you use standard c++ technique of overloading the called function?
deriving a class from base first,
if you are in a hurry to get it done.

----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Saturday, August 21, 2004 5:06 AM
Subject: Re: [gnomemm] Howto underline text


> > Da: Max Vasin <[email protected]>
> > Data: 20 Aug 2004 19:59:38 +0400
> > A: [email protected]
> > Oggetto: Re: [gnomemm] Howto underline text
> >
> > "[email protected]" <[email protected]> writes:
> >
> > > Hi,
> > >
> > > does anybody know how to underline a Gnome::Canvas::Text?
> > >
> > > The property_underline() property requires a Pangounderline, but with
our libraries we have a Pango::Underline, so gcc complains.. how to solve
it?
> > I think using
> > static_cast<Pangounderline>(...)
> >
> > --
>
> It still doesn't work. With the cast, gcc doesn't complain at compile
time, but at runtime i receive this error
>
>  GLib-GObject-WARNING **: unable to set property `underline' of type
`PangoUnderline' from value of type `glibmm__CustomBoxed_14PangoUnderline'
>
> Any idea?
> Thx in advice,
> Mark
>
> ________________________________________________________________________
> Cerchi un laboratorio fotografico aperto 24 ore su 24?
> Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore.
> http://www.kataweb.it/foto
>
>
> _______________________________________________
> gnomemm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gnomemm-list