Use of postcommand in combobox?

Volker vos at lundinova.se
Tue Jun 26 09:25:00 UTC 2018


 > If  I can  understand correctly  the  value (converted  to string)  is
 > passed straight to wish. Have you tried to pass tcl code instead?

I can pass a valid tcl command without arguments:

     (let ((c (make-instance 'combobox :text "Values:" :postcommand "pwd")))
     ...

but I don't know how to use this to change the values list,
unfortunately my knowledge in Tcl is rather limiteted.

Have to read a little bit more, I suspect.

/Volker




More information about the ltk-user mailing list