Tk::Getopt 0.49
Sponsored Links
Tk::Getopt 0.49 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1085
Date added:
2006-11-03
Publisher:
Slaven Rezic
Tk::Getopt 0.49 description
Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long.
SYNOPSIS
use Tk::Getopt;
@opttable = ([opt1, =s, default], [opt2, !, 1], ...);
$opt = new Tk::Getopt(-opttable => @opttable,
-options => %options,
-filename => "$ENV{HOME}/.options");
$opt->set_defaults; # set default values
$opt->load_options; # configuration file
$opt->get_options; # command line
$opt->process_options; # process callbacks, check restrictions ...
print $options->{opt1}, $options->{opt2} ...;
...
$top = new MainWindow;
$opt->option_editor($top);
or using a Getopt::Long-like interface
$opt = new Tk::Getopt(-getopt => [help => $HELP,
file:s => $FILE,
foo! => $FOO,
num:i => $NO,
]);
or an alternative Getopt::Long interface
%optctl = (foo => $foo,
bar => $bar);
$opt = new Tk::Getopt(-getopt => [%optctl, "foo!", "bar=s"]);
Tk::Getopt provides an interface to access command line options via Getopt::Long and editing with a graphical user interface via a Tk window.
Unlike Getopt::Long, this package uses a object oriented interface, so you have to create a new Tk::Getopt object with new. Unlike other packages in the Tk hierarchy, this package does not define a Tk widget. The graphical interface is calles by the method option_editor.
After creating an object with new, you can parse command line options by calling get_options. This method calls itself Getopt::Long::GetOptions.
SYNOPSIS
use Tk::Getopt;
@opttable = ([opt1, =s, default], [opt2, !, 1], ...);
$opt = new Tk::Getopt(-opttable => @opttable,
-options => %options,
-filename => "$ENV{HOME}/.options");
$opt->set_defaults; # set default values
$opt->load_options; # configuration file
$opt->get_options; # command line
$opt->process_options; # process callbacks, check restrictions ...
print $options->{opt1}, $options->{opt2} ...;
...
$top = new MainWindow;
$opt->option_editor($top);
or using a Getopt::Long-like interface
$opt = new Tk::Getopt(-getopt => [help => $HELP,
file:s => $FILE,
foo! => $FOO,
num:i => $NO,
]);
or an alternative Getopt::Long interface
%optctl = (foo => $foo,
bar => $bar);
$opt = new Tk::Getopt(-getopt => [%optctl, "foo!", "bar=s"]);
Tk::Getopt provides an interface to access command line options via Getopt::Long and editing with a graphical user interface via a Tk window.
Unlike Getopt::Long, this package uses a object oriented interface, so you have to create a new Tk::Getopt object with new. Unlike other packages in the Tk hierarchy, this package does not define a Tk widget. The graphical interface is calles by the method option_editor.
After creating an object with new, you can parse command line options by calling get_options. This method calls itself Getopt::Long::GetOptions.
Tk::Getopt 0.49 Screenshot
Tk::Getopt 0.49 Keywords
Getopt 0.49
interface to
user configuration
interface
options
tk
new
window
user
Tk::Getopt
TkGetopt
Tk::Getopt 0.49
Libraries
Programming
Bookmark Tk::Getopt 0.49
Tk::Getopt 0.49 Copyright
WareSeeker periodically updates pricing and software information of Tk::Getopt 0.49 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tk::Getopt 0.49 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
touch interface
interface fabrics
wow interface
interface security
interfacelift
interface carpet tile
graphical user interface
options publishing
interface band
what is elmscan 5 usb interface
unable to obtain terminal server user configuration
interface solutions
network interface card
صور بنات عاريات صور عرات صور سكس options
interface carpet
interface not registered
options mastercard
user configuration administrative templates control panel display
Related Software
Getopt::Plus is a Perl module with options wrapper with standard options, help system and more. Free Download
Getopt::OO is an object oriented command line parser. Free Download
Getopt::Helpful is an integrated option hash / help messages. Free Download
Getopt::Popt is a Perl interface to the popt(3) library. Free Download
Getopt::Fancy is an object approach to handling command line options, focusing on end user happiness. Free Download
Getopt::ExPar contains extended parameters command line parser. Free Download
Tk::Optionbox is another pop-up option-widget (with MULTI-level selections). Free Download
Getopt::Lucid is a clear, readable syntax for command line processing. Free Download
Latest Software
Popular Software
Favourite Software