| X-windows text events [message #30040] |
Thu, 04 April 2002 02:04  |
Niel Malan
Messages: 7 Registered: April 2002
|
Junior Member |
|
|
Hi
I'm writing a compound widget, basically a text widget with modified behaviour (returning the selected line as value)
I'm using IDL 5.4, running an X-windows on Windows NT, the server being some Compaq workstation.
My problem is that when my widget application is running, mouse actions in other X-windows, including the IDLDE, generate
events. At the moment the problem is small, only bothering me when editing in the IDLDE, but I see trouble ahead.
Am I doing something wrong, or is this just the way things are?
Niel
|
|
|
|
| Re: X-windows text events [message #30158 is a reply to message #30040] |
Fri, 05 April 2002 05:01  |
btupper
Messages: 55 Registered: January 2002
|
Member |
|
|
Hello,
You might want to consider a peek at Martin Schultz's MGS_LIST object.
It has proven pretty darn handy for getting/setting elements within an
array. It can be realized as a widget (stand alone or embedded in a
parent GUI). The list array could be numeric values as well as
strings. Also, once the widget is closed, the list is still
maintained as well as the user's last selection. I have a variant of
his list object, but you'll do better getting his.
http://www.mpimet.mpg.de/~schultz.martin/idl/index.html
Ben
|
|
|
|