_protocol_helper
Internal method to process protocol-method 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 protocol callback is queried (for perltk compatibility).
Usage:
my $subref = $self->_protocol_helper($callback, $protoName);
manage
This implements the Wm manage method, which is new for Tcl/Tk 8.5
This simply calls the Tcl/Tk 'wm manage' command, and then re-blesses the widget to be a toplevel widget, so other toplevel and Wm methods will work on it.
Usage:
my $toplevel = $widget->Tcl::pTk::Wm::manage();
forget
This implements the Wm manage forget, which is new for Tcl/Tk 8.5
This simply calls the Tcl/Tk 'wm forget' command, and then re-blesses the widget to be a frame widget.
Usage:
my $toplevel = $toplevel->forget();