> And, are there any hints on how to translate the Tcl/Tk 
> documentation to
> Perl/Tkx?  For example, I don't know how to interpret the 
> following and
> translate it into Perl/Tkx.

tutorial on such interpreting, and hints are highly desired.


> pathName configure ?option? ?value option value ...?
> Query or modify the configuration options of the widget. If 
> one or more
> option-value pairs are specified, then the command modifies the given
> widget option(s) to have the given value(s); in this case the command
> returns an empty string. If option is specified with no 
> value, then the
> command returns a list describing the named option: the 
> elements of the
> list are the option name, database name, database class, 
> default value,
> and current value. If no option is specified, returns a list 
> describing
> all of the available options for pathName. 

pathName is widget "path" (like .f.b2 etc), in Tkx this is ordinary widget.

All other parameters are just strings on their own.
(except for variable references and procedures, which are substituted from Perl 
to Tcl without you noticing it)

So you should interpret

 pathName configure ?option? ?value option value ...?

as

$widget->configure();
or
$widget->configure("option");
or
$widget->configure("option", "value","option","value ...");

Best regards,
Vadim.

Reply via email to