[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Resizing object graphics on X
- Subject: Re: Resizing object graphics on X
- From: davidf(at)dfanning.com (David Fanning)
- Date: Wed, 25 Oct 2000 16:02:26 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <25OCT00.18172414@feda34.fed.ornl.gov> <MPG.1460e291cb663404989c63@news.frii.com> <25OCT00.21092127@feda34.fed.ornl.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:21903
Dave Greenwood (greenwoodde@ornl.gov) writes:
> The solution came from one of those newsgroup-shy RSI folks (thanks JP).
> What I needed to do was to resize the draw *widget* instead of the draw
> *window*:
>
> drawid = widget_info(event.top, find_by_uname='drawwidget')
> widget_control, drawid, xsize = event.x, ysize = event.y
> info.oWindow->draw, info.oView
How come these newsgroup-shy folks don't fill me in?
They must take sadistic pleasure in watching the so-called
experts make fools of themselves. :-(
Anyway, I plan to spend the weekend updating all my programs
to work with IDL 5.4. I'll add this to the list of updates
that have to be made. (Anyone using IDLgrColorbar? That
doesn't work correctly anymore, either. RSI has updated
code if you need it.)
Cheers,
David
P.S. Anybody else discovering that writing platform-independent
code takes a LOT of work. :-(
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155