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

Home » Public Forums » archive » Re: widget fonts
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: widget fonts [message #18281] Fri, 17 December 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Marc Schellens (m_schellens@hotmail.com) writes:

> But as I have now my dialogs all written, I do not want to go through
> all the files and add a font parameter to so many widgets.
> Under CDE my dialogs using a large font, under KDE a smaller one.
> So how can I set this globally and not only for button widgets?
> Is there an environment variable or better an global IDL variable to
> set?

Widget_Control, Default_Font='Helvetica*14'

Cheers,

David
--
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
Re: widget fonts [message #18285 is a reply to message #18281] Fri, 17 December 1999 00:00 Go to previous message
Marc Schellens is currently offline  Marc Schellens
Messages: 14
Registered: November 1999
Junior Member
Thank you Ian,

But as I have now my dialogs all written, I do not want to go through
all the files and add a font parameter to so many widgets.
Under CDE my dialogs using a large font, under KDE a smaller one.
So how can I set this globally and not only for button widgets?
Is there an environment variable or better an global IDL variable to
set?

thanks, :-) marc
Re: widget fonts [message #18297 is a reply to message #18281] Thu, 16 December 1999 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
your name wrote:

> Marc Schellens wrote:
>>
>> Is there a way to scale the font for widgets (i.e button labels) with
>> the motif interface?
>>
>> thanks,
>> :-) marc
> I'm using Motif under CDE and OpenVMS and I change the font size/style
> by using the FONT keyword to widget commands.
>
> e.g. My_button = WIDGET_BUTTON(......,/FONT='Helvr12')
> My_button = WIDGET_BUTTON(......,/FONT='Timb10')
>

You don't mean /font or did you ?


>
> The available fonts can be found using XFONT and selecting "Private".
>
> Hope this helps,
> Ian
>
> Ian.Dean@GECM.COM
Re: widget fonts [message #18300 is a reply to message #18297] Thu, 16 December 1999 00:00 Go to previous message
your name is currently offline  your name
Messages: 7
Registered: June 1999
Junior Member
Marc Schellens wrote:
>
> Is there a way to scale the font for widgets (i.e button labels) with
> the motif interface?
>
> thanks,
> :-) marc
I'm using Motif under CDE and OpenVMS and I change the font size/style
by using the FONT keyword to widget commands.

e.g. My_button = WIDGET_BUTTON(......,/FONT='Helvr12')
My_button = WIDGET_BUTTON(......,/FONT='Timb10')

The available fonts can be found using XFONT and selecting "Private".

Hope this helps,
Ian

Ian.Dean@GECM.COM
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Another IDL twist
Next Topic: Re: Large animations under NT

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

Current Time: Wed Oct 08 13:45:50 PDT 2025

Total time taken to generate the page: 0.00842 seconds