- or download this
$mono_font = $mw->fontCreate('mono', -family => 'Courier', -size => 10
+);
- or download this
$mw->Label(-text => "test monospaced font", -font => 'mono');
$mw->Label(-text => "test monospaced font bis", -font => $mono_font);
- or download this
$mw->optionAdd('*font', 'Courier 12');
- or download this
#pay attention to win32 doublequotes!
perl -MTk -e "$mw=tkinit;$t=$mw->Text(-font=>'Courier')->pack;$t->inse
+rt('end', $_.(' ' x (10 - length $_)).qq(xxx\n)) for qw (aaaa bbb ccc
+ccc);MainLoop"