Re: xmanager /no_block [message #16858] |
Mon, 23 August 1999 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
R.Bauer (R.Bauer@fz-juelich.de) writes:
>> I'd be using this only if I *REALLY* knew what I was
>> doing. :-)
>
> This won't work,
>
> may be I don't know where I have to use it.
>
> WIDGET_CONTROL, /REALIZE, map.base_0,set_uval=map
> WIDGET_CONTROL, /XMANAGER_ACTIVE_COMMAND, map.base_0
Yeah, I don't know, Reimar. I don't number myself among
those who REALLY know what they are doing in this case.
I don't think I have ever written a widget program that
didn't use XMANAGER to manage events. I can't even think
why I would want to. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: xmanager /no_block [message #16865 is a reply to message #16858] |
Mon, 23 August 1999 00:00  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
David Fanning wrote:
> R.Bauer (R.Bauer@fz-juelich.de) writes:
>
>> How did I get the NO_BLOCK state without using xmanager.
>>
>> I have written a small interface where I don't want the controll of the
>> functions by xmanager. Because
>> xmanager blocks a new event as long if it is running the one before.
>> I have written my own event manager for this application so I am able to
>> create events during an event is processed.
>>
>> This all is working really good and fast!
>>
>> The only thing I momentanly don't know is:
>> How did the NO_BLOCK by xmanager work?.
>>
>> What is the command for widget_control to get this mode?
>
> Here is the command in XMANAGER:
>
> if keyword_set(no_block) then WIDGET_CONTROL, $
> /XMANAGER_ACTIVE_COMMAND, id
>
> I'd be using this only if I *REALLY* knew what I was
> doing. :-)
>
This won't work,
may be I don't know where I have to use it.
WIDGET_CONTROL, /REALIZE, map.base_0,set_uval=map
WIDGET_CONTROL, /XMANAGER_ACTIVE_COMMAND, map.base_0
R.Bauer
|
|
|
Re: xmanager /no_block [message #16867 is a reply to message #16858] |
Sun, 22 August 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
R.Bauer (R.Bauer@fz-juelich.de) writes:
> How did I get the NO_BLOCK state without using xmanager.
>
> I have written a small interface where I don't want the controll of the
> functions by xmanager. Because
> xmanager blocks a new event as long if it is running the one before.
> I have written my own event manager for this application so I am able to
> create events during an event is processed.
>
> This all is working really good and fast!
>
> The only thing I momentanly don't know is:
> How did the NO_BLOCK by xmanager work?.
>
> What is the command for widget_control to get this mode?
Here is the command in XMANAGER:
if keyword_set(no_block) then WIDGET_CONTROL, $
/XMANAGER_ACTIVE_COMMAND, id
I'd be using this only if I *REALLY* knew what I was
doing. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|