GnomeCanvasGroup's children?
- From: sottek <sottek quiknet com>
- To: gnome-devel-list gnome org
- Subject: GnomeCanvasGroup's children?
- Date: Wed, 18 Oct 2000 18:35:06 -0700
Could someone please tell me how to get the children of a
GnomeCanvasGroup
without casting it to _GnomeCanvasGroup? Seems like there probably
should
be a way to do something like:
children = (GList *)gtk_object_get_data(GTK_OBJECT(canvas_group),
"item_list");
however this doesn't seem to work and the documentation....err header
says:
/* GnomeCanvasGroup - a group of canvas items
*
* A group is a node in the hierarchical tree of groups/items inside a
canvas.
* Groups serve to give a logical structure to the items.
*
* Consider a circuit editor application that uses the canvas for its
schematic
* display. Hierarchically, there would be canvas groups that contain
all the
* components needed for an "adder", for example -- this includes some
logic
* gates as well as wires. You can move stuff around in a convenient
way by
* doing a gnome_canvas_item_move() of the hierarchical groups -- to
move an
* adder, simply move the group that represents the adder.
*
* The following arguments are available:
*
* name type read/write description
*
--------------------------------------------------------------------------------
* x double RW X coordinate of group's
origin
* y double RW Y coordinate of group's
origin
*/
which seems to imply that only the x and y are available for
gtk_object_get_data();
BTW: on a larger note why is the information in the headers above not
included in the
online API reference?
-Matt
--
############################################################
Matt Sottek sottek quiknet com Intel Applications Engineer
My opinions are my own and do not represent Intel.
Intel's opinions are its own and do not represent me.
############################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]