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

Home » Public Forums » archive » droplist doesn't work under Linux
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
droplist doesn't work under Linux [message #32436] Wed, 09 October 2002 01:08 Go to next message
Claudia Herklotz is currently offline  Claudia Herklotz
Messages: 2
Registered: October 2002
Junior Member
My routine worked well untill I added a droplist widget. When I tried to
click on the droplist my KDE was killed. But under Windows it worked
correctly. Does anyone know about that problem ?

Thanks a lot
Claudia
Re: droplist doesn't work under Linux [message #32490 is a reply to message #32436] Sun, 13 October 2002 06:37 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Claudia Herklotz wrote:
> Hello Reimar,
>
> this is a shortened version of my source code. If you delete subbase_two and
> put the droplist widget into subbase_one or set subbase_one sensitive, the
> program is working properly.
>
> Thank you for your help,
> Claudia .
>
>
> PRO TEST_EVENT, event
>
> WIDGET_CONTROL, event.top, GET_UVALUE = data
> WIDGET_CONTROL, event.id, GET_UVALUE = source
>
> CASE source OF
>
> 'button': BEGIN
> IF event.select EQ 1 THEN $
> WIDGET_CONTROL, (*data).subbase_one, SENSITIVE = 1
> IF event.select EQ 0 THEN $
> WIDGET_CONTROL, (*data).subbase_one, SENSITIVE = 0
> END
>
> ELSE:
>
> ENDCASE
> END
>
> ;----------------------------------------------------------- ----------
> PRO TEST
>
> tlb = WIDGET_BASE(ROW = 2)
> head_butt_base = WIDGET_BASE(tlb, /NONEXCLUSIVE, $
> ROW = 1)
> button = WIDGET_BUTTON(head_butt_base, $
> UVALUE = 'button')
> *** subbase_one = WIDGET_BASE(tlb, ROW = 4, FRAME = 1, $
> SENSITIVE = 0, UVALUE = 'subbase_one')
> *** subbase_two = WIDGET_BASE(subbase_one, ROW = 1)
>
> drop_values = strarr(1)
> drop_values[0] = 'test'
> filter_drop = WIDGET_DROPLIST(subbase_two, $
> VALUE = drop_values, UVALUE = 'filter_drop')
>
> data_store = {subbase_one: subbase_one}
> data = ptr_new(data_store)
> WIDGET_CONTROL, tlb, SET_UVALUE = data
> WIDGET_CONTROL, tlb, /REALIZE
> XMANAGER, 'TEST', tlb
>
> END
>
>

Dear Claudia,

same result on my linux systems.
after you have have killed all idl processes from another ascii console
(CTRL+ALT+F1) you have to hit once ALT+F4 in the graphics console to get
the focus back to your input devices.

Please can sameone else did a test on a different OS.


regards

Reimar



--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Need help with HDF_VD_WRITE!!!
Next Topic: Re: jump to end of a text widget

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

Current Time: Fri Oct 10 11:15:07 PDT 2025

Total time taken to generate the page: 0.79858 seconds