
17. Fonts 91
$master->gridSize;
Returns size of grid (in columns, then rows) for
$master.
$master->gridSlaves(?-row => row??, -column => column?);
With no options, a list of all slaves in
$master is returned.
Otherwise, returns a list of slaves in specified row and/or
column.
Grid Relative Placement
– Increases columnspan of slave to the left.
x Leave an empty column.
^ Extends the rowspan of slave above.
17. Fonts
$widget->fontActual(fontDesc ?, -option?);
Returns actual value for -option used by fontDesc on
$widget’s display. If -option is not given, the complete
option/actual value list is returned.
$widget->fontConfigure(fontname ?, -option ?, value??);
Queries/sets font options for application-created font
fontname.
$widget->fontCreate(?fontname ?, -option, value??);
Creates new application font fontname with given font
options.
$widget->fontDelete(fontname ?, fontname?);
Deletes given application-created fonts.
$widget->fontFamilies;
Returns list of known font families defined on
$widget’s
display.
$widget->fontMeasure(fontDesc, text);
Returns width in pixels used by text when rendered in
fontDesc on
$widget’s display.