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

Home » Public Forums » archive » IDL widgets: comments and questions
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: IDL widgets: comments and questions [message #3931 is a reply to message #3752] Fri, 24 March 1995 01:52 Go to previous message
Fergus Gallagher is currently offline  Fergus Gallagher
Messages: 41
Registered: January 1995
Member
>
> ------------------------------------------------------------ ----------
> Subject: IDL widgets: comments and questions
> Date: 15 Mar 1995 02:30:57 GMT
> From: knight@ll.mit.edu (Fred Knight)
> Organization: MIT Lincoln Laboratory
> Newsgroups: comp.lang.idl-pvwave
>
> ------------------------------------------------------------ ---
>
> I have recently written a widget-based image viewer and have some comments
> about IDL widgets. I mention some problems or lack of features I wanted.
> If anybody knows how to solve them, please speak up.
>
> 1.
> I wanted to add a title to each draw widget. The title keyword appears only
> in widget_base. I finally used the title keyword on my plots. I'd still
> like to add titles to other widgets.
>
------------------------------------------------------------ ----------
>

Put the draw widget in its own base:

Instead of

base=widget_base(/column) ; say
draw=widget_draw(base,.......)

do

base=widget_base(/column)
draw_base=widget_base(base,title='Draw Widget',/column)
draw=widget_draw(draw_base,.......)


Fergus

=================================================
| Fergus Gallagher |
| Remote Sensing Applications Development Unit |
| British National Space Centre |
| Monks Wood |
| Huntingdon PE17 2LS / UK |
| |
| F.Gallagher@nerc.ac.uk |
| http://uh.nmt.ac.uk/bnsc/fgg.html |
=================================================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I prevent Widget List Re-sizing?
Next Topic: Re: freeing memory in programs

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

Current Time: Thu Oct 09 23:49:16 PDT 2025

Total time taken to generate the page: 0.23907 seconds