Re: [gnomemm] Gnome::Canvas::Text::property_attributes() problem
- From: Erwin Rol <mailinglists erwinrol com>
- To: "_janus_ katamail com" <_janus_ katamail com>
- Cc: gnomemm-list gnome org
- Subject: Re: [gnomemm] Gnome::Canvas::Text::property_attributes() problem
- Date: Tue, 31 Aug 2004 10:27:45 +0200
On Mon, 2004-08-30 at 11:45, _janus_ katamail com wrote:
> Hi everybody,
>
> I'm using gtkmm 2.2.9, gnomecanvasmm 2.0.1 and pangomm 2.2.9, here is a piece of my code:
>
> Gnome::Canvas::Text *attribtext;
Where is attribtext allocated ?
> gunichar x;
> Glib::ustring markedutext = "<i>test</i>", s;
> Pango::AttrList palx(markeduptext, 0, s, x);
> attribtext->property_text() = s;
When attribtext was not allocated , aren't you using a random pointer
here ?
> attribtext->property_attributes() = palx;
>
- Erwin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]