[Gtk-sharp-list] Gnome/GTK Canvas and group management

Paulo Pires paulo.pires at vodafone.pt
Wed Feb 15 08:35:41 EST 2006


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  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060215/3c2f8227/attachment.html


More information about the Gtk-sharp-list mailing list