Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: GooCanvas Model

by zentara (Archbishop)
on Jul 31, 2008 at 15:00 UTC ( [id://701441]=note: print w/replies, xml ) Need Help??


in reply to GooCanvas Model

Hi, I wondered about this myself. I couldn't see much of a difference in the demo code, in the way it worked. My first thought was that a model was a way to make clones... like make a model then clone it to make new items, but I don't think that is it.

If you look at the docs that come with the Goo c library, the Model class is designed to make subclassing of items and designing your own items simpler. I don't grasp it all yet, but it seems that the various Model classes are the base classes of the various item classes (which are more complex than the base model). There are subtle differences in the inheritance heirarchy between the model and the item, and that probably make it easier to use it as a base class.


I'm not really a human, but I play one on earth Remember How Lucky You Are

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://701441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found