🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.oop.misc
2 messages
2 total messages Started by John P. Speno Wed, 23 Dec 1992 18:32
TCL questions
#8
Author: John P. Speno
Date: Wed, 23 Dec 1992 18:32
28 lines
1864 bytes
Greetings! I'm about to start developing a TCL application, something
I've never done before, so I figured I'd start asking questions on how
to implement some of my ideas. The heart of the program allows the
user to drag and/or position several visual objects(panes) around in a
user defined area. When the objects change position, a graph which
uses their locations must be updated to reflect their new positions. 
Here are some questions:

1) How do I make an object dragable with a gray outline? CMouseTask
looks promising because I'd like to be able to use Undo.
2) Once an object is moved, how should this change be communicated to
the graph which must be updated? I suppose a broadcastChange is in
order. 
3) I'd like to put the graph and the dragging area in one window.
Should all the various pieces be separate panes?

I'd appreciate all help and suggestions greatly. Since this project is
what I'll be doing during winter break, I'll have plenty of questions
for the list. If you want more detailed information about the project,
please Email me directly, I'd love to discuss it. Thanks!

--
=A==l===================+==l===============ro=======a================d=====s= 
John P. Speno		| Disclaimer: Everything I say is my own propaganda.
Trumps R' Us		|  Rutgers Camden, Computer Science Club Secretary. 
speno@clam.rutgers.edu	|		Resistance Is Futile.
==le===========a=======d+=====t=o====Am=========b===========e============r=== 
Re: TCL questions
#137
Author: GRAFF
Date: Wed, 06 Jan 1993 09:36
33 lines
1812 bytes
From: John P. Speno, speno@clam.rutgers.edu
Date: 23 Dec 92 18:32:22 GMT
In article <SPENO.92Dec23133222@clam.rutgers.edu> John P. Speno,
speno@clam.rutgers.edu writes:
>
>1) How do I make an object dragable with a gray outline? CMouseTask
>looks promising because I'd like to be able to use Undo.
>2) Once an object is moved, how should this change be communicated to
>the graph which must be updated? I suppose a broadcastChange is in
>order. 
>3) I'd like to put the graph and the dragging area in one window.
>Should all the various pieces be separate panes?
>
>I'd appreciate all help and suggestions greatly. Since this project is
>what I'll be doing during winter break, I'll have plenty of questions
>for the list. If you want more detailed information about the project,
>please Email me directly, I'd love to discuss it. Thanks!
>

Hi!
I can only give you a SMALL hint:
Read the book 

     Macintosh C Programming Primer Volume II
     Dave Mark
     Addison-Wesley
     
There is a brief description of a program using TCL that handles 
dragging of Objects and things like that. Hope that helps

             Jochen
             
P.S.: English is not my native language, sorry!!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads