++ed by:
CAC

1 PAUSE user

Author image Christopher Alexander Chavez

_bind_widget_helper

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);

process_replace_options

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.

Usage:

   @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