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

Home » Public Forums » archive » Re: PV_WAVE Widgets
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: PV_WAVE Widgets [message #1002] Tue, 01 June 1993 07:51 Go to next message
ian is currently offline  ian
Messages: 26
Registered: February 1992
Junior Member
In article <1JUN199308535496@stars.gsfc.nasa.gov> offenberg@stars.gsfc.nasa.gov (Joel Offenberg) writes:
> J. Michael Berkley writes...
>
>> IDL supports the same widget interface under all of Motif (IBM, HP,
>> etc.), OpenWindoze (Sun) and MS-Windows. With due attention to
>> details (eg. filenames, XDR for data exchange, display sizes), the
>> same IDL widget interface will work in all three environments in
>> roughly the same way. No coding changes are required.
>>
> Really? I've had problems going between DECWindows Motif and plain X-windows
> on our Sun regarding the default layouts. I don't use OpenWindows, so I can't

Well, you're both right. The widgets will *work* about the same, but will
very probably *look* different. I've seen the same problem with menus changing
formation. I've also noticed that under Motif, the sliderbars on a draw
widget eat into the size of the display region of it, while on a Sun it does
not.

I think there are other differences as well, but they seem to be cosmetic
only. We have IDL on an IBM RS6000 and on a Solbourne (SunOS), and I've had
no trouble moving applications from one to the other.

)-Ian Novack (Particle Man)------------------------ian@gomez.jpl.nasa.gov-(
/ "I am trying to fill a silent moment with Jet Propulsion Lab \
( non-relevant conversation." -- Lt. Cmdr. Data Pasadena, CA )
\-Disclaimer: Had this been an actual opinion, it would still be mine.------/
Re: PV_WAVE Widgets [message #1003 is a reply to message #1002] Tue, 01 June 1993 05:53 Go to previous messageGo to next message
offenberg is currently offline  offenberg
Messages: 5
Registered: October 1992
Junior Member
J. Michael Berkley writes...

>
> IDL supports the same widget interface under all of Motif (IBM, HP,
> etc.), OpenWindoze (Sun) and MS-Windows. With due attention to
> details (eg. filenames, XDR for data exchange, display sizes), the
> same IDL widget interface will work in all three environments in
> roughly the same way. No coding changes are required.
>
Really? I've had problems going between DECWindows Motif and plain X-windows
on our Sun regarding the default layouts. I don't use OpenWindows, so I can't
compare X to OpenWindows.

Here's my problem: if I say
x = widget_base(row=2)
y = longarr(6)
for i=0,6 do y(i) = widget_label(x,value=string(i+1))

I get
1 2 3
4 5 6
on the VAX in DECWindows MOTIF, but if I execute the same code on a Sun SPARC
using X-Windows, I get
1 3 5
2 4 6

The way around this sort of a problem is to define more base widgets
(everything works as expected if you use row=1 and/or column=1), but it is a
pain for complex layouts.

------------------------------------------------------------ -------------------
Joel D. Offenberg |
Hughes STX |
Offenberg@uit.gsfc.nasa.gov | "There's more to this world than just
Disclaimer: I never said that. | people, you know" - Hobbes
Neither did my employers nor |
the government. |
------------------------------------------------------------ -------------------
Re: PV_WAVE Widgets [message #1004 is a reply to message #1003] Tue, 01 June 1993 02:20 Go to previous messageGo to next message
glenn is currently offline  glenn
Messages: 5
Registered: May 1993
Junior Member
I think you'll find that widgets first appeared in :

PV-WAVE v4.01 (Fri Aug 21 1992)

With that version came a separate manual describing the
wave widgets and the widgets toolbox.

---
------------------------------------------------------------ ------------
Dr Glenn Carver Email: glenn@atm.ch.cam.ac.uk
Centre for Atmospheric Science Phone: (44-223) 336521
Chemistry Department Fax : (44-223) 336362
Cambridge University
UK
------------------------------------------------------------ ------------
Re: PV_WAVE Widgets [message #1005 is a reply to message #1004] Mon, 31 May 1993 20:54 Go to previous messageGo to next message
lrn is currently offline  lrn
Messages: 10
Registered: May 1993
Junior Member
pjclinch@dux.dundee.ac.uk (Pete Clinch) writes:

> Larry Roger Nittler (lrn@howdy.wustl.edu) wrote:
> : Hi y'all,
> : Sorry for this naive question, but this seems like a pretty
> : friendly group. People keep talking about widgets in this group,
> : but I don't see any mention of these in the PV_WAVE manuals. So my
> : question is: What are Widgets and why should I know?

> A widget is a software tool for building graphical applications, and
> examples are scrollbar widgets, menu widgets etc... The PV-Wave and
> IDL Widgets are for building quick and easy graphical front ends for
> command language applications, so I guess you're either using the
> Point & Click PV-Wave (which *is* a graphical front end, and thus doesn't
> really need widgets) or a version that doesn't support Widgets (perhaps
> MS-Windows???).
> I've just looked in the manuals, and they're not really mentioned...
> Try online help, and the WAVE Widgets topic.

Actually, I'm using PV-WAVE version 4.0 on a SGI workstation, and widgets
aren't mentioned in on-line help either! Is anyone else using the same
version of wave, and using widgets or are these not supported in this
version?
Thanks
Larry R. Nittler

> --
> Peter Clinch University of Dundee
> phone 44 382 (voice) 60111 x 2050 (fax) 632970 Department of Medical Physics
> email pjclinch@dux.dundee.ac.uk Ninewells Hospital
> Dundee, DD1 9SY, Scotland, UK
Re: PV_WAVE Widgets [message #1006 is a reply to message #1005] Mon, 31 May 1993 13:41 Go to previous messageGo to next message
mberkley is currently offline  mberkley
Messages: 5
Registered: December 1992
Junior Member
> On 31 May 1993 13:25:33 +0100, pjclinch@dux.dundee.ac.uk (Pete Clinch) said:
Lines: 16

PC> ... The PV-Wave and IDL Widgets are for building quick and easy
PC> graphical front ends for command language applications, so I guess
PC> you're either using the Point & Click PV-Wave (which *is* a
PC> graphical front end, and thus doesn't really need widgets) or a
PC> version that doesn't support Widgets (perhaps MS-Windows???)....

IDL supports the same widget interface under all of Motif (IBM, HP,
etc.), OpenWindoze (Sun) and MS-Windows. With due attention to
details (eg. filenames, XDR for data exchange, display sizes), the
same IDL widget interface will work in all three environments in
roughly the same way. No coding changes are required.

(I must admit to being flabbergasted at how well this works in
practice. One huge application only required filename changes when we
got our MS-Windows version of IDL!)
Re: PV_WAVE Widgets [message #1007 is a reply to message #1006] Mon, 31 May 1993 05:25 Go to previous messageGo to next message
pjclinch is currently offline  pjclinch
Messages: 27
Registered: May 1993
Junior Member
Larry Roger Nittler (lrn@howdy.wustl.edu) wrote:
: Hi y'all,
: Sorry for this naive question, but this seems like a pretty
: friendly group. People keep talking about widgets in this group,
: but I don't see any mention of these in the PV_WAVE manuals. So my
: question is: What are Widgets and why should I know?

A widget is a software tool for building graphical applications, and
examples are scrollbar widgets, menu widgets etc... The PV-Wave and
IDL Widgets are for building quick and easy graphical front ends for
command language applications, so I guess you're either using the
Point & Click PV-Wave (which *is* a graphical front end, and thus doesn't
really need widgets) or a version that doesn't support Widgets (perhaps
MS-Windows???).
I've just looked in the manuals, and they're not really mentioned...
Try online help, and the WAVE Widgets topic.
--
Peter Clinch University of Dundee
phone 44 382 (voice) 60111 x 2050 (fax) 632970 Department of Medical Physics
email pjclinch@dux.dundee.ac.uk Ninewells Hospital
Dundee, DD1 9SY, Scotland, UK
Re: PV_WAVE Widgets [message #1101 is a reply to message #1003] Tue, 01 June 1993 07:55 Go to previous message
mberkley is currently offline  mberkley
Messages: 5
Registered: December 1992
Junior Member
> On 1 Jun 1993 08:53 EDT, offenberg@stars.gsfc.nasa.gov (Joel Offenberg) said:
Lines: 8

JO> The way around this sort of a problem is to define more base
JO> widgets (everything works as expected if you use row=1 and/or
JO> column=1), but it is a pain for complex layouts.

Yes, it is a pain, but it does avoid problems with users resizing
windows, etc. I guess I just never have trusted panes and frames to
do the right thing with multi-row configurations in any windowing
system. :-)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Matrix routines
Next Topic: Re: 2 simple questions - 3rd time's the charm?

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

Current Time: Wed Oct 08 15:07:43 PDT 2025

Total time taken to generate the page: 0.00656 seconds