pmw listbox selection loses focus

Robert Roy rjroy at takingcontrol.com
Wed Apr 23 22:19:31 EDT 2003


On 23 Apr 2003 10:34:49 -0700, awheat at imaging.robarts.ca (Andrew
Wheatley) wrote:

>I've created a Pmw.ScrolledListBox on Redhat Linux 8.0.  If I mouse
>click on a Terminal window or Emacs window for example (but not its
>decoration) after selecting a selection, the selection is turned off
>graphically.  However, the selectioncommand is not called.  How can I
>prevent the selection(s) from being deselected when I click inside
>other windows?
>
>Andrew

try setting  exportselection=0 on the listbox




More information about the Python-list mailing list