How do I bind the spacebar to the default function of ctrl in a listbox in python 3.4 with tkinter -


i have list box. select mode set extended. essentially, want replace holding ctrl + left mouse click tapping space bar select multiple items in list. default selection of single item bound left double click , works properly. not want change functionality of that. ideas?

directorieslist = listbox(frame, selectmode = extended,  exportselection = 0, background = '#ffffff', foreground = '#000000', selectbackground = '#000000', selectforeground = '#ffffff')  directorieslist.bind("<return>", pathappend)  directorieslist.bind("<double-button-1>", pathappend) 

`


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -