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

Home » Public Forums » archive » Re: 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
Re: droplist doesn't work under Linux [message #32432] Wed, 09 October 2002 03:23 Go to next message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Claudia Herklotz wrote:
> 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
>
>

Dear Claudia

please can you post a short example.

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
============================================================ =======
Re: droplist doesn't work under Linux [message #32506 is a reply to message #32432] Fri, 11 October 2002 00:24 Go to previous message
Claudia Herklotz is currently offline  Claudia Herklotz
Messages: 2
Registered: October 2002
Junior Member
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




----- Original Message -----
From: "Reimar Bauer" <R.Bauer@fz-juelich.de>
Newsgroups: comp.lang.idl-pvwave
Sent: Wednesday, October 09, 2002 12:23 PM
Subject: Re: droplist doesn't work under Linux


> Claudia Herklotz wrote:
>> 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
>>
>>
>
> Dear Claudia
>
> please can you post a short example.
>
> 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: Stupid Question
Next Topic: 4/6-dimensionl numerical integration?

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

Current Time: Wed Oct 08 19:42:04 PDT 2025

Total time taken to generate the page: 0.00457 seconds