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

Home » Public Forums » archive » Re: X-windows locking up
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: X-windows locking up [message #32542] Wed, 16 October 2002 05:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ian Dean (Ian.d.dean@baesystems.com) writes:

> Pro my_test
> tlb = widget_base(column=1)
> message=widget_label(tlb,value='A header')
> my_base = widget_base(tlb, column=1)
> widget_control,my_base,sensitive=0 ; Don't allow the user access yet
> base2 = widget_base(my_base, row=1)
> pulld2 = widget_droplist(base2, value=['aaa','bbb'])
> base3 = widget_base(my_base, row=1)
> pulld3 = widget_droplist(base2, value=['ccc','ddd'])
> ; ... more such bases and widgets
> widget_control, tlb,/realize
> wait,5.0 ; Do some processing
> widget_control,my_base,/sensitive ; Now make structure available
> ;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the point when the system hangs
> end

Have you tried realizing the TLB and *then* making
the base insensitive? I wonder if there is something
in the realize step that is not being set up correctly.
I've done this for some of my programs and I have never
heard they locked up on UNIX machines.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: X-windows locking me out
Next Topic: Re: connected component labeling problem in a graylevel image without background

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

Current Time: Sat Oct 11 15:53:18 PDT 2025

Total time taken to generate the page: 0.07988 seconds