load ./libsqlite3.dylib
#package require sqlite3
source
wm title . "SQLite r-tree viewer"
if
sqlite3 db
canvas .c -background white -width 400 -height 300 -highlightthickness 0
button .b -text "Parent Node" -command
set O(iNode) 1
set O(zTab) ""
set O(listbox_captions)
set O(listbox_itemmap)
set O(listbox_highlight) -1
listbox .l -listvariable ::O(listbox_captions) -yscrollcommand
scrollbar .ls -command
label .status -font courier -anchor w
label .title -anchor w -text "Node 1:" -background white -borderwidth 0
set rtree_tables
db eval
if
eval tk_optionMenu .select option_var $rtree_tables
trace add variable option_var write set_option_var
set ::O(zTab)
bind .l <1>
bind .l <Motion>
bind .l <Leave>
grid configure .select -row 0 -column 0 -columnspan 2 -sticky nsew
grid configure .b -row 1 -column 0 -columnspan 2 -sticky nsew
grid configure .l -row 2 -column 0 -sticky nsew
grid configure .status -row 3 -column 0 -columnspan 3 -sticky nsew
grid configure .title -row 0 -column 2 -sticky nsew
grid configure .c -row 1 -column 2 -rowspan 2 -sticky nsew
grid configure .ls -row 2 -column 1 -sticky nsew
grid columnconfigure . 2 -weight 1
grid rowconfigure . 2 -weight 1
view_node
bind .c <Configure> view_node