Q: Xmanager explanation? [message #18247] |
Wed, 08 December 1999 00:00 |
David L. Keller
Messages: 4 Registered: September 1999
|
Junior Member |
|
|
Using IDL in two different projects about 10 years apart,
I have yet to figure out what 'Xmanager' does for me.
I realize that I have to keep track of widget ids, which
I do by creating a common array of NAME and ID pairs:
a = {nameandnumber, wnam : "", wnum : 0L}
I call a simple routine to add to the list of widgets:
add2namenumber,'DataMenu',data_menu_id
To retrieve a widget id, I have a function 'wnum' that
converts the NAME to the NUMBER (ID):
widget_control,wnum('DataMenu'),blah, etc=andSoOn)
I am more comfortable going through this effort myself,
because I -dont- know what xmanager does for me. Ok, I
do know that it keeps track of the widget id's, but as
I say, I'd rather do it myself and understand it.
I also don't trust Xmanager in that I am not sure that
I can trust it with the 'interrupt' magic, and type IDL
commands at the same time.
Anyone able to clearly explain what I get with xmanager?
What it's drawbacks might be?
-- Dave --
|
|
|