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
Post a Comment