Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: GUIs in Tk.:Zinc; a perl module experiment

by rocklee (Beadle)
on Nov 03, 2008 at 15:06 UTC ( [id://721113]=note: print w/replies, xml ) Need Help??


in reply to Re: GUIs in Tk.:Zinc; a perl module experiment
in thread GUIs in Tk.:Zinc; a perl module experiment

Appreciate your feedback as always, Sir!

I use the ztkbubble example as a basis for making almost any type of composite item on Zinc.

I think you missed the operative word 'complex', and I failed to explain properly as is tradition by now. Specifically I need to create objects that have one-to-one, one-to-many or many-to-many relationships. Each object has a visual representation on the canvas (filled curve in most cases); Each relationship has a visual representation on the canvas (bezier). I can figure out how to do this -- the question is if some project exists that use Zinc (or canvas) to visualize complex relationships between objects; ie how to best approach this problem in an efficient way using PTK, hopefully saving me hours upon hours of experiments and refactoring ;-)

Subclassing Zinc might be a viable option for me - I will look into this. When I understand bless(). ;-)

  • Comment on Re^2: GUIs in Tk.:Zinc; a perl module experiment

Replies are listed 'Best First'.
Re^3: GUIs in Tk.:Zinc; a perl module experiment
by zentara (Archbishop) on Nov 03, 2008 at 21:06 UTC
    Subclassing Zinc might be a viable option for me - I will look into this. When I understand bless()

    Look at Tk::CanvasDirTree where I subclass the Tk::Canvas. You could easily substitute Zinc in that, with minor syntax changes for things like finding the root group and scrollbar control, etc.

    You might want to post a new node asking about modules for handling complex interactions, I'm sure I've seen it discussed here before.


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

      Oh great! From browsing it quickly (at work;) it seems to contain quite a few useful pointers. OTOH I am also considering the Zinc C API to do the dirty work - obviously faster, and possibly easier to maintain in the long run.

      I guess I'll post a node when I have some more specific questions on this subject.

      Thanks again :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found