FileSelect Widget - Font 
Author Message
 FileSelect Widget - Font

All,

Does anybody know how I can change the Font/Font Size within the
FileSelcet widget.
It's using some default font.

 $Browser = $mw->FileSelect(-directory => $HOME,
                                                -verify => ['-d'] );

Thx
ROman.



Fri, 29 Jul 2005 17:47:19 GMT  
 FileSelect Widget - Font

Quote:

> All,

> Does anybody know how I can change the Font/Font Size within the
> FileSelcet widget.
> It's using some default font.

>  $Browser = $mw->FileSelect(-directory => $HOME,
>                                                 -verify => ['-d'] );

It seems that FileSelect does not use the -font option for all
subwidgets. But there's always the possibility to add custom entries
to the resource database:

    $mw->optionAdd("*FileSelect*font", "Times 12");

Regards,
        Slaven

--

    Berlin Perl Mongers - http://berliner.pm.org



Fri, 29 Jul 2005 18:05:20 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Bug in FileSelect widget?

2. Extracting font size ONLY from text widget with -cget

3. Q: representing 0 font with characters in text widget

4. Fonts stuff for Text widget

5. Changing font in Label widget

6. Getting a font of a widget

7. Font::TTFMetrics, a new module for true type font

8. perl program to create fonts.scale for X11R5 Type1 font renderer

9. PS fonts -> Tk fonts

10. Font::TTFMetrics, a new module for true type font

11. ANNOUNCE: PostScript::Font 1.08 -- Access to font data

12. PostScript::Font -- tools for PostScript TypeX and TrueType fonts

 

 
Powered by phpBB® Forum Software