Re: PerlQT Canvas Sample?

Germain Garand <[email protected]>
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
Le Samedi 13 Mars 2004 19:59, Ashley Winters a écrit :
> QCanvasItem objects are also subject to that parent requirement, but
> PerlQt is smart enough to check ->canvas() instead of ->parent() on
> them, so you shouldn't need to do anything else special for it to work.

ermm, I'm afraid it's not :-}
They have to be kept somewhere too.

We have a problem with those because it's the only *Item class that doesn't 
have a corresponding takeItem() method in the container...
so people wouldn't be able to remove them from the canvas...

This is really an unfortunate state of things. 
Maybe we should drop the DWIM here and introduce an explicit delete() method 
for *Items?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.