Getting local offset of GnomeCanvasItem to GnomeCanvasGroup
- From: Kang Jeong-Hee <Keizi mail co kr>
- To: gnome-devel-list gnome org
- Subject: Getting local offset of GnomeCanvasItem to GnomeCanvasGroup
- Date: Thu, 14 Aug 2003 11:21:49 +0900
All the GnomeCanvasItems are owned by a GnomeCanvasGroup.
When reparenting such item among groups, the local coord
preserved to be same offset to new parent.
GtkContainer that is similar to GnomeCanvasGroup provide
an API gtk_container_child_get() for getting x and y offset
of a child to the container.
An API of gnome_canvas_item_get_offset() or such a name
will be useful if done. Or is there already done with
] [Thread Prev