python - Removing Selection, StyledTextCtrl - wxpython -


i function remove selection in styledtextctrl (select nothing)

txt.setselection(-1,-1) #seems select   txt.setselection(-1,0) # select first letter 

does know how can done? can't seem find in api

try this:

txt.setselection(0, 0) 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -