Rechercher une page de manuel
Tk::X11Font.3pm
Langue: en
Version: 2007-08-29 (mandriva - 22/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
Tk::Font - a class for finding X FontsSYNOPSIS
use Tk::X11Font;
$font = $widget->X11Font(foundry => 'adobe', family => 'times', point => 120 );
$font = $widget->X11Font('*-courier-medium-r-normal-*-*');
DESCRIPTION
This module can be use to interrogate the X server what fonts are avaliable.
METHODS
Foundry( [ $val ] )
Foundry( [ $val ] )
Family( [ $val ] )
Family( [ $val ] )
Weight( [ $val ] )
Weight( [ $val ] )
Slant( [ $val ] )
Slant( [ $val ] )
Swidth( [ $val ] )
Swidth( [ $val ] )
Adstyle( [ $val ] )
Adstyle( [ $val ] )
Pixel( [ $val ] )
Pixel( [ $val ] )
Point( [ $val ] )
Point( [ $val ] )
Xres( [ $val ] )
Xres( [ $val ] )
Yres( [ $val ] )
Yres( [ $val ] )
Space( [ $val ] )
Space( [ $val ] )
Avgwidth( [ $val ] )
Avgwidth( [ $val ] )
Registry( [ $val ] )
Registry( [ $val ] )
Encoding( [ $val ] )
Encoding( [ $val ] )
Set the given field in the font name to $val if given and return the current or previous value
Name( [ $max ] )
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 version08-Nov-98 Renamed for Tk800.012
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.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre