[pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

Christian Robottom Reis kiko at async.com.br
Tue Jun 22 22:47:30 WST 2004


On Mon, Jun 21, 2004 at 09:21:32PM -0700, John Finlay wrote:
> Dennis Craven wrote:
>
> >The small program demonstrates the copy and paste functions working
> >properly, and while the cut function deletes the selected text from the
> >buffer, it is not available in the clipboard for pasting.
>
> If you use the CLIPBOARD clipboard or a private clipboard it seems to 
> work OK. It appears that using the PRIMARY clipboard has the behavior 
> you observed. I suspect that this might be the expected behavior since 
> PRIMARY is the primary selection that was just cut leaving nothing 
> selected but I don't know for sure. Copying and pasting PRIMARY also 
> seems unreliable for me.

That's odd. I thought Dennis had tried with CLIPBOARD and reported (via
IRC) it didn't work either -- was this not tested, then?

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331


More information about the pygtk mailing list