Selection of text as starting point of an algorithm in Python -


i 've troubles figure out how make act of selecting or clicking word in text call action other functions

i explain myself following pseudo-code of do:

word_selected= recognition_of_selected_word_function() if(word_selected)        function1(word_selected)       function2(word_selected)       function3(word_selected) 

is there function fit "recognition_of_selected_word_function()"?

as example, i've seen google translator extension has similar. select text, , start own script. selection of text starting point of algorithm

i've been searching similar goggle week...but nothing...

thanks time!

just in case have same problem, 've found solution in stackoverflow question mouse events on text in python using wxpython


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -