[pygtk] Rectangular Selection in gtk.TextView

Wildemar Wildenburger wildemar at freakmail.de
Fri Dec 7 18:38:55 EST 2007


John Ehresman wrote:
> I may be wrong here, but I suspect TextView does not support 
> rectangular selections.  I haven't seen mention of rectangular 
> selections when I've worked with it and a quick google search seems to 
> confirm this.
>
That is my experience too; I was hoping that there might be a way to 
draw custom selections without implementing a whole new TextView (it 
would help if you could at least turn off the drawing of the selection; 
then you could maybe draw custom borders around selections).

If anyone has any thoughts on this, I would like to hear them. 
Otherwise, ... oh well ... even GTK isn't perfect ... :(

/W



More information about the Python-list mailing list