Tk::Font man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



Tk::Font(3)	      perl/Tk Documentation	      Tk::Font(3)

NAME
       Tk::Font - a class for finding X Fonts

SYNOPSIS
	use Tk::Font;

	$font = $widget->Font(foundry => 'adobe',
			      family  => 'times',
			      point   => 120
			     );

	$font = $widget->Font('*-courier-medium-r-normal-*-*');

DESCRIPTION
	  This module can be use to interrogate the X server what fonts are
	  avaliable.

METHODS
       Foundry( [ $val ] )

       Family( [ $val ] )

       Weight( [ $val ] )

       Slant( [ $val ] )

       Swidth( [ $val ] )

       Adstyle( [ $val ] )

       Pixel( [ $val ] )

       Point( [ $val ] )

       Xres( [ $val ] )

       Yres( [ $val ] )

       Space( [ $val ] )

25/Aug/1997		    Tk400.202				1

Tk::Font(3)	      perl/Tk Documentation	      Tk::Font(3)

       Avgwidth( [ $val ] )

       Registry( [ $val ] )

       Encoding( [ $val ] )

       Set the given field in the font name to $val if given and
       return the current or previous value

       Name( [ $max ] )

       In a list context it returns a list of all font names that
       match the fields given. It will return a maximum of $max
       names, or 128 if $max is not given.

       In a scalar contex it returns the first matching name or
       undef

       Clone( [ key => value, [ ...]] )

       Create a duplicate of the curent font object and modify
       the given fields

AUTHOR
       Graham Barr <Graham.Barr@tiuk.ti.com>

HISTORY
       11-Jan-96 Initial version

COPYRIGHT
       Copyright (c) 1995-1996 Graham Barr. All rights reserved.
       This program is free software; you can redistribute it
       and/or modify it under the same terms as Perl itself.

25/Aug/1997		    Tk400.202				2

Tk::Font(3)	      perl/Tk Documentation	      Tk::Font(3)

25/Aug/1997		    Tk400.202				3

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net