Hello vTcl users,

Does anyone have experience with the Tix extension widget for vTcl, called
tixScrolledHList?
I am trying to include a hierarchical tree, but it doesn't work. Where
should I place which commands?
I inserted the entire following code in the command entry in the attribute
editor, but no result at all,
not even an error message:

------------
tixTree .mytree -command Command -options {
    hlist.separator .
    hlist.itemType text
    hlist.drawBranch true
    hlist.indent 16
}
pack .mytree -expand yes -fill both
set hlist [.mytree subwidget hlist]
 
$hlist add aanslag                         -text "aanslag"
$hlist add aanslag.Ierland              -text "Ierland"
$hlist add aanslag.Israel                -text "Israel"
$hlist add aanslag.Ierland.IRA        -text "IRA"
$hlist add aanslag.Ierland.SinnFein -text "Sinn Fein"
 
.mytree autosetmode
----------

Is it possible to create a collapsible tree structure through the vTcl
interface? 

Thank you,
Martijn

----------------------------------------------------------------------------
---------------
Martijn Spitters (drs.)
TNO-TPD Dutch Organization for Applied Physics
Division of Information Systems
----------------------------------------------------------------------------
---------------
address:  Stieltjesweg 1 - 2600 AD - Delft
phone:     (+31) 015-2692815
e-mail:      [EMAIL PROTECTED]
----------------------------------------------------------------------------
---------------

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to