Python 2.5 Tkinter Highlight Spinbox Entry -


this question seems trivial me can't seem find related it, , spinbox docs don't seem help.

is there way select of text in spinbox widget?

i'm trying:

self.spinbox.selection_clear() self.spinbox.selection('range', 0, end) 

to no avail.

i have bound mouse-click on spinbox. first time click on it, entry text highlighted, , subsequent times not, unless boolean variable has been reset. i've had no problem doing entry widgets, spinbox seems give me trouble. using function wrong?

from experimentation, think spinbox needs explicitly have focus in order selection anything. try:

self.spinbox.selection_clear() self.spinbox.focus_set() self.spinbox.selection('range', 0, end) 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -