 "normal"   0 {disabled normal readonly}}
        {-values            String      {}         0}
    }

    Widget::declare TableList {
        {-rows              Int         "0"        0}
        {-state             Enum        "normal"   0 {disabled normal}}
        {-upimage           String      "::TableList::uparrow"   0}
        {-downimage         String      "::TableList::downarrow" 0}
        {-showarrow         Boolean     1          0}
        {-showtitles        Boolean     1          1}

        {-keycolumn         String      ""         0}
        {-treecolumn        String      "0"        1}

        {-sortargs          String      ""         0}
        {-sortinsert        Boolean     0          0}

        {-browseargs        String      ""         0}
	{-browsecommand     String      ""         0}

        {-editstartcommand  String      ""         0}
        {-editfinishcommand String      ""         0}
        {-editcancelcommand String      ""         0}
    }

    image create photo ::TableList::uparrow \
        -file [file join $::BWIDGET::LIBRARY images uparrow.gif]

    image create photo ::TableList::downarrow \
        -file [file join $::BWIDGET::LIBRARY images downarrow.gif]

    Widget::tkinclude TableList table .t \
        remove {
            -variable -roworigin -cache -state -rows
            -browsecommand -browsecmd -selectioncommand -selcmd
            -command -usecommand -validate -validatecommand -vcmd
        } initialize {
            -background #FFFFFF -sparsearray 0 -rows 1 -relief flat
            -cursor "" -colstretchmode last -anchor w
            -multiline 0 -ellipsis ... -selecttype row -selectmode single
            -bordercursor sb_h_double_arrow -exportselection 0
            -highlightthickness 0 -padx 2 -pady 1
        }

    BWidget::bindMouseWheel TableListTable

    bind TableList <FocusIn> [list after idle [list BWidget::refocus %W %W.t]]
    bind TableList <Destroy> [list TableList::_destroy %W]

    bi