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

Home » Public Forums » archive » Widget problems !!
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
Widget problems !! [message #8812] Mon, 28 April 1997 00:00
enkpong is currently offline  enkpong
Messages: 14
Registered: April 1997
Junior Member
I am a new user of PV-Wave. Please forgive me to ask some stupid
questions about using of widgets.

I want to define a widget, first with the following command:

top = WwInit(title,'Examples',base,/form,/horizontal)

Actually, I also want to define the xsize and ysize of the widgets, but
I couldn't find any relevant information in references and programmer's
guide. Any pointer ??

In addition, I want to define a label for each new widget (e.g. slider,
text box, and radio box etc.) created. However, I found that it is very
inconvenient to do so as compared to IDL since in IDL, the definition of
label for each widget is very easy to define like

slider1 = Widget_Slider(base,TITLE='Slider 1',UVALUE='Slider',Min=1,Max=10)

for defining a slider. Furthermore, it is very inconvenient to define
procedure to handle all the events happened when we have a button pressed,
or pulldown menu selection, and it is not difficult to implement in IDL
by using CASE, though we still use CASE in PV-Wave's procedures.

Since I have written some programs in IDL and I need to change them into
PV-Wave, that's why I found the above problems and felt that PV-Wave is
not as good as IDL in implementation of widgets. For the above problems, any
help would be greatly appreciated. Thank you very much !

KP

--
************************************************************ *****************
Koon-Pong Wong (PhD student) Email : enkpong@encws8.en.polyu.edu.hk
Department of Electronic Engineering
The Hong Kong Polytechnic University Phone : (+852) 2766 6201 (Office)
Hung Hom, Kowloon FAX : (+852) 2362 8439
Hong Kong Office: DE503d
************************************************************ *****************
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Fractals, Kalman-Filter and IDL
Next Topic: Re: pointers in IDL

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

Current Time: Wed Oct 08 15:39:45 PDT 2025

Total time taken to generate the page: 0.00494 seconds