Internal method to process bind callbacks.
This creates a Tcl::pTk::Callback object from the callback and stores the object in the widget's internal data-store, so it can be returned if the binding is queried (for perltk compatibility).
Usage:
my $subref = $self->_bind_widget_helper($callback, $tag, $sequence);
Method to process the replace_options hash for a widget. This will be called at widget creation or configure calls to perform any replacement/translation of options for another.
@code_todo = process_replace_options($replace_options, $args); where: $replace_options: Hash of options names => replacements or codeRef to perform $args: Input/Output Args @code_todo: Array of any code that needs to be performed after widget creation
To install Tcl::pTk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tcl::pTk
CPAN shell
perl -MCPAN -e shell install Tcl::pTk
For more information on module installation, please visit the detailed CPAN module installation guide.