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

Home » Public Forums » archive » Re-sizing Draw Widgets in Linux
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-sizing Draw Widgets in Linux [message #31397] Mon, 08 July 2002 17:26
MKatz843 is currently offline  MKatz843
Messages: 98
Registered: March 2002
Member
Here's a widget programming issue I'm having with Linux (IDL 5.5) that
is not a problem on the Mac (IDL 5.4).

I'm trying to dynamically re-size the screen area of a widget_draw
widget in response to the user changing the size of the top-level
base. (This happens to be a widget for drawing with object graphics
[graphics_level = 2], but I'm not sure that is an important detail.)

I issue this command:

widget_control, windowID, DRAW_XSIZE = xx, DRAW_YSIZE = yy

and yes, the screen size of the widget changes perfectly.
HOWEVER, the newly added areas of the window cannot be drawn-to. They
remain black even though the rest of the window behaves just as it
should.

As I said above, this works _perfectly_ on a Mac (no surprise there),
and it's exactly the same code on both machines.

Am I going to have to destroy and re-create the widget_draw window to
make this work?

Thanks,
M. Katz
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: QROMB problem
Next Topic: Re: SOM projection (MISR) in IDL ?

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

Current Time: Wed Oct 08 19:40:22 PDT 2025

Total time taken to generate the page: 0.00472 seconds