Bin zufällig auf die Tix-Bibliothek gestoßen und versuchte seitdem seine Klassen auszuprobieren, nur ist die Tix-eigene Homepage überhaupt nicht hilfreich. Was ich da zu lesen bekomme, grenzt für mich schon nicht mehr an Python, und das, obwohl Tix doch für Python programmiert wurde...?
Code: Alles auswählen
tixScrolledHList .sh -options {
hlist.itemType text
hlist.drawBranch false
hlist.indent 8
}
pack .sh -expand yes -fill both
set hlist [.sh subwidget hlist]
$hlist add foo -text "foo"
$hlist add foo.bar -text "foo's 1st son"
$hlist add foo.bor -text "foo's 2nd son"
$hlist add foo.bar.bao -text "foo's 1st son's 1st son"
$hlist add foo.bar.kao -text "foo's 1st son's 2nd son"
$hlist add dor -text "dor, who has no son"
Weiß jemand ein gutes Tutorial von Tix, mit dem man es auch wirklich lernen kann?
Und was hat es mit dem Unfug wie oben beschrieben auf sich?
Viele Grüße Markus