Re: Use the same canvasitem 2 times



Felix,

In one version of the GGAD, I found a reference to a function:

gtk_layout_freeze (GTK_LAYOUT (canvas));

On the other hand, in the reference manual, it says:

"This is a deprecated function, it doesn't do anything useful."

So... I would advise against its use, and use one of the other
suggestions I sent.

John


On Sat, 07 May 2005 16:56:54 +0200
Felix Bueltmann <mailing list visionexe de> wrote:

Is there any other way, to do a synchronous update of both items?
Can I stop the automatic refresh and just do the refreshs if I need 
them? 

On Sat, 2005-05-07 at 11:45 -0300, John Coppens wrote:
On Sat, 07 May 2005 16:29:04 +0200
Felix Bueltmann <mailing list visionexe de> wrote:

Hi,

Is there a way, to use the same canvasitem more than one time.
I want to use them on different canvas widgets.
For example, if one item change its background color, it should
be changed in all canvas widgets.

The properties of the canvas item include its parent and its
position, so the same canvas item cannot be at two different places
at the same time.

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
-- 
Felix Bueltmann <mailing list visionexe de>

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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