in reply to Tk fonts crash on Fedora
Try cleaning that up and see what happens.my $font = $mw->fontCreate(@fontopts); # that should be my $font = $mw->fontCreate('myfont', @fontopts); #otherwise you need to use $font in the -font option $fr->Button(-text=>"B1", -command=>$phello,-font=>$font )->pack(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk fonts crash on Fedora
by wulvrine (Friar) on Nov 29, 2007 at 11:39 UTC | |
by zentara (Cardinal) on Nov 29, 2007 at 14:24 UTC | |
by wulvrine (Friar) on Nov 29, 2007 at 16:39 UTC | |
by zentara (Cardinal) on Nov 29, 2007 at 21:12 UTC | |
by wulvrine (Friar) on Nov 30, 2007 at 18:43 UTC |