Hi,

Gnome.Canvas works under hierarchies. You got something like this:

Root (CanvasGroup)
|
|
---------- CanvasGroup (ex.: VBox with Text and Image*)
|
|
----------- CanvasGroup
|                       |___________ CanvasGroup (ex.: VBox with Text and Image*)
|                      |___________ CanvasItem (ex.: CanvasPixbuf)
|                      |___________ CanvasGroup (ex.: VBox with Text and Image*)
|                      |___________ CanvasItem (ex.: CanvasPixbuf)
|                      |___________ CanvasItem (ex.: CanvasPixbuf)
|                      |___________ CanvasItem (ex.: CanvasPixbuf)
|
|
---------- CanvasItem


So as you can see it's pretty simple and extensible.

* Get http://evoluzion.org/stuff/canvas.tar.gz and check the source. It might help you.


Paulo Pires


Qui, 2006-02-09 às 13:55 -0600, Michael Lee Yohe escreveu:
I am confused as to how to manage groups (and their items) using the
Gnome Canvas.  How do I clear all the items within a group (other than
destroying the items)?  Further, how do I reference all the items in
the group??

This class seems to be missing a basic container layout.  Any help
would be appreciated.

--
AksanSai
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to