Copyright © 2009, 2010 Arndt Roger Schneider
Download TkPath, version 0.3.x from its CVS repository at SourceForge.
# cvs TkPath:
cvs -d:pserver:anonymous@tclbitprint.\
cvs.sourceforge.net:/cvsroot/tclbitprint login
# [enter]
cvs -z3 -d:pserver:anonymous@tclbitprint.\
cvs.sourceforge.net:/cvsroot/tclbitprint co -P tkpath
Tcl/Tk 8.5 or higher is required for TkPath 0.3.x.
Download the Runtime Library 3.0 from its CVS repository at SourceForge.
# cvs Runtime Library 3.0:
cvs -d:pserver:anonymous@gestaltitems.\
cvs.sourceforge.net:/cvsroot/gestaltitems login
# [enter]
cvs -z3 -d:pserver:anonymous@gestaltitems.\
cvs.sourceforge.net:/cvsroot/gestaltitems co -P rtl
Download the Gestalt Items 1.1 from its CVS repository at SourceForge.
# cvs Gestalt Items 1.1:
cvs -d:pserver:anonymous@gestaltitems.\
cvs.sourceforge.net:/cvsroot/gestaltitems login
# [enter]
cvs -z3 -d:pserver:anonymous@gestaltitems.\
cvs.sourceforge.net:/cvsroot/gestaltitems \
co -P Gestalt Items
or the released version from the download area at: Gestalt Items 1.1.
Example A.1. Cascading Listboxes and hugelist
package require Tk
package require rtl
package require Hugelist
package require rtl_mlistbox
package require rtl_gridwin
# From Gestalt Items 2.0:
# aquahead stripes the header row.
package require aquahead
# All rtl_mlistbox windows contain hugelist.
option add *Rtl_mlistbox.listType \
hugelist::create
rtl_gridwin .gwin -window .gwin.louter \
-width 200 -height 200
Example A.2.
rtl_mlistbox .gwin.louter \
-listtype rtl_mlistbox \
-columns 3 \
-headingsanchor {w w w} \
-headings {arna bewa cuma}
# The inner listboxes:
foreach tag {0 1 2} {
.gwin.louter.canvas.inner.listbox_$tag \
configure \
-columns 2 \
-headingsanchor {w w} \
-headings {aleph bela}
# The dummy-data:
for {set i 0} { $i < 100 } { incr i } {
.gwin.louter.canvas.inner.listbox_$tag \
insert end [list a_$i b_$i]
}
}
Example A.3.
# Map the gridwin:
pack .gwin -fill both -expand 1
# Lookup the scroll region inside the
# gridwin child window.
.gwin update