Do you have a question? Post it now! No Registration Necessary. Now with pictures!
August 10, 2009, 6:36 pm
rate this thread
I have recently started to look at the Tkx module for developing GUI-
based applications. In the past I have used Tk.
I am having trouble setting the font on a checkbutton's text. The code
below does not compile, it gives the error:
unknown option "-font" at test.pl line 12.
my $font = 'Courier 10 normal';
my $mw = Tkx::widget->new('.');
(my $resetButton = $mw->new_ttk__checkbutton
(-text => 'Reset',
-variable => $reset,
# The -font option causes error
-font => $font,
-onvalue => 1,
-offvalue => 0,
--- End CODE ---
The Tk reference (http://www.tcl.tk/man/tcl8.5/TkCmd /
checkbutton.htm#M16) indicates the '-font' is a standard option for a
Is this option just not implemented in Perl::Tkx? Or is there a
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum