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

Home » Public Forums » archive » Re: multiple line title in window
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: multiple line title in window [message #64539] Tue, 06 January 2009 11:33
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Tue, 6 Jan 2009, Mark wrote:

> Hello,
>
> Sorry if this is a stupid question, but I was wondering if there's an
> *easy* way to make a multiple line title for a direct graphics window
> in an x-windows system. Something along the lines of...
>
> window,3,title='top line !c bottom line'
>
> The !c works for a plot title, of course, but it seems to be just
> another character as regards a window title.
>
> Thanks,
>
> Mark
>

window, title='first line'+string(10b)+'second line'

But it will be ugly. There is not enough space for two lines in the title.
(And it depends on your window manager's handling of the \n character.)

regards,
lajos
Re: multiple line title in window [message #64540 is a reply to message #64539] Tue, 06 January 2009 11:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark writes:

> Sorry if this is a stupid question, but I was wondering if there's an
> *easy* way to make a multiple line title for a direct graphics window
> in an x-windows system. Something along the lines of...
>
> window,3,title='top line !c bottom line'
>
> The !c works for a plot title, of course, but it seems to be just
> another character as regards a window title.

Not possible, as far as I know.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: multiple line title in window
Next Topic: creating dynamic array

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

Current Time: Wed Oct 08 13:34:22 PDT 2025

Total time taken to generate the page: 0.00518 seconds