Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.


  How can I select items in more than one Tk listbox at a time?
 
 The default for Tk`s `listbox` widget is to export its selection as the
X selection.  There can only be one of these at a time.  To turn off
this behavior in Tk, use `-exportselection false` when you create the
`listbox`.  Alternatively, place the following command at the beginning
of your script:

option add *Listbox.exportselection false