Re: widget fonts [message #18281] |
Fri, 17 December 1999 00:00 |
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  |
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  |
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  |
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
|
|
|