Tk::CmdLine contains process standard X11 command line options and set initial resources.
SYNOPSIS
Tk::CmdLine::SetArguments([@argument]);
my $value = Tk::CmdLine::cget([$option]);
Tk::CmdLine::SetResources((@resource | $resource) [, $priority]);
Tk::CmdLine::LoadResources(
[ -symbol => $symbol ]
[ -file => $fileSpec ]
[ -priority => $priority ]
[ -echo => $fileHandle ] );
Process standard X11 command line options and set initial resources.
The X11R5 man page for X11 says: "Most X programs attempt to use the same names for command line options and arguments. All applications written with the X Toolkit Intrinsics automatically accept the following options: ...". This module processes these command line options for perl/Tk applications using the SetArguments function.
This module can optionally be used to load initial resources explicitly via function SetResources, or from specified files (default: the standard X11 application-specific resource files) via function LoadResources.
Requirements:
· Perl
Product's homepage