Tk is a great graphical toolkit to write desktop applications. However, one can get bothered with the constant typing of quotes and options. Tk::Sugar provides handy subs for common options used when programming Tk.
Benefits are obvious:
* Reduced typing.
* More compact statements.
* No string worries.
Example:
use Tk::Sugar qw{ :pack :state };
$widget->pack( top, xfill2, pad10 );
# equivalent to those pack options:
# -side => 'top'
# -expand => 1
# -fill => 'both'
# -padx => 10
# -pady => 10
$widget->configure( enabled );
# equivalent to: -state => 'enabled'
Commercial Use
Modify
Distribute
Hold Liable
Use Trademarks
State Changes
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummarySep 3 2024 — Oct 3 2024
|
12 Month SummaryOct 3 2023 — Oct 3 2024
|