Bug in GTK CUT to Clipboard Operation
- From: Gaurav Jain <gaurav adobe com>
- To: gtk-devel-list gnome org
- Cc: gtk-app-devel-list gnome org
- Subject: Bug in GTK CUT to Clipboard Operation
- Date: Mon, 20 Sep 2004 15:31:29 +0530
Hi,
I'm using the API gtk_text_buffer_cut_clipboard() to cut the selected
text from a text buffer corresponding to a text view widget, to the
CLIPBOARD selection. What is
happening is that the text is NOT getting copied to the clipboard,
though the selected text is getting removed from the text view.
On the other hand, COPYing works, with a call to
gtk_text_buffer_copy_clipboard(), in which case the selected text is
getting copied to the clipboard correctly.
I'm using something like:
gtk_text_buffer_cut_clipboard(tBuf, mClipboard, TRUE);
This DOES NOT copy the contents of the current selection to the
clipboard.
If I replace that with the following pair:
gtk_text_buffer_copy_clipboard(tBuf, mClipboard);
gtk_text_buffer_delete_selection(tBuf, TRUE, TRUE);
This too, DOES NOT work (though I thought it does essentially the same
thing).
Is there a bug in GTK with respect to this operation?
Thanks,
-Gaurav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]