TkAnalysis

        This class provides methods to analyze TK widgets as well
        as dialogs to shows and even edit their results.

Syntax

Control

        new
        destroy

General

        _bindDump
        _prepareOptions
        _stringify
        getOptions
        isEditable
        stringifyOption
        widgetDump
        a2h
        compareWidget
        subwidgetList

Dialogs

        listBindings
        showOptions
        updateAllOptions
        viewCurrentOptions
        viewDefaultOptions
        showClassDiagram
        addClass
        addClassNames

Notes

        None.

_bindDump

        Dump binding information.
        print "Binding information for $w\n";
        foreach my $tag ($w->bindtags) {
                print "\n Binding tag '$tag' has these bindings:\n";
                foreach my $binding ($w->bind($tag)) {
                        my $callback = $w->bind($tag,$binding)
                        print "  $callback\n";
                }
        }
        Arguments
                - list of widgets to be processed
        Returns
                - dump as an array (or ref to array)
                  of text lines, ready to be shown.
        Note: see original code in package Tk::bindDump

listBindings

        Show the resut of _bindDump for the given widget
        Arguments
                - ref to widget to be bindDumped
        Returns
                - None

Back to index