I want to set the text anchor for a goocanvasmm text item. But I can't get the examples to run
Goocanvas::Text::create("Any Text", 0, 0, -1, Goocanvas::ANCHOR_NORTH);
error: 'ANCHOR_NORTH' is not a member of 'Goocanvas'
Goocanvas::Text::create("Any Text", 0, 0, -1, Goocanvas::ANCHOR_N);
error: 'ANCHOR_N' is not a member of 'Goocanvas'
I have no idea in which namespace or subclass this item is located. Can anyone help?