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

Home » Public Forums » archive » widget_base and windows position
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
widget_base and windows position [message #42058] Mon, 20 December 2004 13:17
Francois L. is currently offline  Francois L.
Messages: 19
Registered: December 2004
Junior Member
Hello,

I want to draw a Top Level Base containing three sub-windows like this:
Window 1, large, on the top.
Window 2, medium, bellow window 1.
Window 3, small, right of window 2 and bellow window 1.

With the following code, windows 2 and 3 are on top of window 1:
------------------------------------------------------------ ------
tlb = widget_base(title='top level base',/row)
baseLeft = widget_base(tlb, /column)
baseRight = widget_base(tlb, /column)
BaseLeftBottom = widget_base(baseLeft, /row)
w1 = widget_draw(BaseLeft, xsize=512, ysize=512)
w3 = widget_draw(BaseLeftBottom, xsize=256, ysize=256)
w4 = widget_draw(BaseLeftBottom, xsize=128, ysize=128)
widget_control, tlb, /realize
------------------------------------------------------------ -----

What would be the correct code for placing window 1 above ?

Thank you,

Francois.
[Message index]
 
Read Message
Previous Topic: Orb-Object IDL5.4 vs IDL6.0
Next Topic: Re: widget_base and windows position

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

Current Time: Sat Oct 11 01:31:06 PDT 2025

Total time taken to generate the page: 2.39951 seconds