Re: [pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-22 Thread John Finlay
Dennis Craven wrote: In the meantime, since it works, is the test program of any use to include as a demo with PyGTK? I can clean it up if you wish. Christian already suggested things like renaming the destroy callback to on_window_destroy_event to be more consistant. It's yours if it's of any use

Re: [pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-22 Thread Dennis Craven
On Tue, 2004-06-22 at 09:47, Christian Robottom Reis wrote: > That's odd. I thought Dennis had tried with CLIPBOARD and reported (via > IRC) it didn't work either -- was this not tested, then? Yes. When I spoke to you in IRC, you had suggested trying CLIPBOARD, and I tried it in my own applicatio

Re: [pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-22 Thread Christian Robottom Reis
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

Re: [pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-21 Thread John Finlay
Dennis Craven wrote: Hello, I have written a small testcase/demo program that uses the cut_clipboard, copy_clipboard, and paste_clipboard gtk.TextBuffer functions that were introduced in PyGTK 2.4. The small program demonstrates the copy and paste functions working properly, and while the cut funct

[pygtk] gtk.TextBuffer.cut_clipboard problem and testcase

2004-06-21 Thread Dennis Craven
Hello, I have written a small testcase/demo program that uses the cut_clipboard, copy_clipboard, and paste_clipboard gtk.TextBuffer functions that were introduced in PyGTK 2.4. The small program demonstrates the copy and paste functions working properly, and while the cut function deletes the sel