[pygtk] DND on non-editable textview

Tony Nelson tonynelson at georgeanelson.com
Fri May 12 02:17:41 WST 2006


At 8:45 AM +0200 5/11/06, Le Boulanger Yann wrote:
 ...
>Here is a small exemple that shows the problem. run the attached
>program, DND a file from a file manager (nautilus, xffm, ...) to the
>text view: all is ok.
>
>now uncomment line "tv.set_editable(False)" and restart the program:
>that doesn't work anymore :(
>
>any idea ?
>Do I do something wrong ?
 ...

Well, perhaps, since dragging a file onto the edit box is supposed to
change the text in it, that sort of thing requires the edit box to be
"editable"?  At least, that seems to be what the author appears to have
been thinking.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>


More information about the pygtk mailing list