Re: Hiding an item?



On Sun, 2008-12-07 at 15:18 +0100, Armin Burgmeier wrote:
> On Sun, 2008-12-07 at 15:17 +0100, Murray Cumming wrote:
> > I don't see a way to temporarily hide a GooCanvasItem, as you can with a
> > GtkWidget. If this is possible it would make my code simpler than adding
> > and removing an item at just the right position and z order.
> 
> Have you tried setting the "visibility" property of the item to
> GOO_CANVAS_ITEM_HIDDEN?

No. Thanks for the tip. I should have seen that.
http://library.gnome.org/devel/goocanvas/unstable/goocanvas-goocanvasitem.html#GooCanvasItem--visibility


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]