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 
Return to the default flat view Create a new topic Submit Reply
Re: PV_WAVE Widgets [message #1003 is a reply to message #1002] Tue, 01 June 1993 05:53 Go to previous messageGo to previous 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. |
------------------------------------------------------------ -------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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 17:04:14 PDT 2025

Total time taken to generate the page: 0.00633 seconds