| Newsgroups |
gmane.comp.gnome.gnomemm |
| Message-ID |
<[email protected]> |
Hi all,
i have a Gnome::Canvas::Text *t and i'd like to set the font style in italic. For doing this i have a function:
void OGClass::setItalic(bool res)
{
PangoStyle s;
if(res) s = PANGO_STYLE_ITALIC;
else s = PANGO_STYLE_NORMAL;
t->property_style_set() = true;
t->property_style() = s;
}
The compiler gives no errors, but at runtime i receive this message
GLib-GObject-WARNING **: unable to set property `style' of type `PangoStyle' from value of type `glibmm__CustomBoxed_10PangoStyle'
and nothing happen. Any idea?
Thx,
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