comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Tree diagrams for widget diagnostic tool
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Tree diagrams for widget diagnostic tool [message #4623] Fri, 30 June 1995 00:00
cool is currently offline  cool
Messages: 1
Registered: June 1995
Junior Member
Hi. I'm wondering if anyone has written an IDL routine to draw tree diagrams,
e.g.

a
|
________________
| | |
b c d
|
_____
| |
e f

except with neat boxes around each member...

Reason being that I've written a widget diagnostic tool that breaks down the
current widget list held by XMANAGER into a parent/child/siblings etc tree.
From here, I pull out all the event handlers, and assign a toggle button to
each event handler such that I can intercept and interrogate any/all events
in any currently active widgets, and capture for display values/uvalues etc,
before passing the event onto its intended destination.

Having done all the recursive work to generate the widget family tree, I've
developed a crude tree diagram in a window, but I can either get the boxes
laid out nicely with joining lines that sometimes cross, or joining lines
that don't cross, but the boxes are a tad jumbled. I've also had the
matching box on the tree diagram "lite up" when a button is pressed.

It'd be nice to find an IDL procedure that would take as input some tree
structure, or perhaps a Fortran routine that would return relative
XY coordinates of each member of the family. Even a reference to a good
text book on this complex subject would be handy.

Hope someone can help!



------------------------------------------------------------ --------------------
Andrew Cool | andrew.cool@dsto.defence.gov.au
Information Technology Officer |
High Frequency Radar Division | phone: +61 8 259 5199
Defence Science and Technology Organization | fax: +61 8 259 6673
PO Box 1500 Salisbury, South Australia 5108 |
------------------------------------------------------------ --------------------
[Message index]
 
Read Message
Previous Topic: PF1 key in IDL VMS 4.0?
Next Topic: Windows IDL 4.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:27:02 PDT 2025

Total time taken to generate the page: 2.48090 seconds