Selecting text in Tkinter.Text

Grzegorz Dostatni grzegorz at ugrad.cs.ualberta.ca
Wed Jul 25 22:36:51 CEST 2001


Hello.
What I want to do sounds simple.  I've created a widget that extends
Tkinter.Text widget.  It supposed to display database tables.  I want the
user to be able to select rows (ie ignore borders/empyspaces, etc) in an
intelligent manner.  I can bind a function to '<B1-Motion>' but I haven't
been able to figure out how to change the current selection to what I
want? (ie. modify sel.first to be the beginning of the row for example).

I know what i need is probably somewhere in the documentation... I'll keep
on reading it, hope someone helps me though ;-)

Greg


_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_

Some family trees bear an enormous crop of nuts.
		Wayne H. 

Drawing on my fine command of language, I said nothing. 
               	*Anonymous 




More information about the Python-list mailing list