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

Home » Public Forums » archive » Resizable IDL List widget?
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: Resizable IDL List widget? [message #53422 is a reply to message #53386] Fri, 13 April 2007 10:55 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
>> I'm not certain, but here's a test of this:
>>
>> b=widget_base(/COLUMN)
>> t=widget_label(b,VALUE='Testing Foolery')
>> d=widget_draw(b,XSIZE=100,YSIZE=80)
>>
>> widget_control, b,/realize
>> widget_control, d,get_value=v
>> wset,v
>> tvscl,dist(100,80)
>>
>> for i=0,10 do begin
>> g=widget_info(d,/GEOMETRY)
>> print,'X: ',g.SCR_XSIZE,' Y: ',g.SCR_YSIZE
>> widget_control, d,SCR_XSIZE=g.SCR_XSIZE,SCR_YSIZE=g.SCR_YSIZE
>> endfor
>
> No, I think the problem must be something else. This code
> behaves about like I think you must be expecting it to. That
> is, nothing much happens and all sizes are reported as the
> same.

That's strange. Perhaps the TLB geometry is biased in some way? I simply
can't understand where the fudge comes from, in that case.

>> If IDL were written today, it could leverage a modern cross-platform GUI
>> toolkit, like QT/GTK/wX/etc., and dispense with all this crap.
>
> After all the rigamarole and complexity of separating widgets
> from the iTool visualization layer, maybe this is what they
> intend to do with the big Eclipse update. Ditch widgets and
> give us iTools with modern cross-platform GUIs. That would
> certainly get rid of those irritating customers who use direct
> graphics and complain all the time! :-)

I'd like to believe. Who has the best example of a non-trivial
image-based GUI running in the iTools framework to try? Of course, my 5
year old video card fails to impress iTools, which typically crash my
X-Windows server after about 2 minutes of noodling. I can't exactly blame
that on ITTVIS, but needless to say, it makes me less willing to drink the
koolaid.

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array Questions
Next Topic: Re: Array Questions

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

Current Time: Wed Oct 08 15:12:54 PDT 2025

Total time taken to generate the page: 0.00609 seconds