[pygtk] Best way to make text widget uncopyable

Joe Nall joe at nall.com
Tue Aug 16 10:33:32 WST 2011


I would like to make a GtkTextView widget 'uncopyable' on X-windows / linux. I added copy_clipboard and cut_clipboard handlers and that dealt with the clipboard, but I still need to catch the middle mouse button primary selection. I added a handler for selection_get - but it never gets called. What am I missing?

joe




More information about the pygtk mailing list