[NEWBIE] Setting clipboard text
- From: Edward Yang <neo_in_matrix fastmail fm>
- To: gtk-app-devel-list gnome org
- Subject: [NEWBIE] Setting clipboard text
- Date: Sat, 09 Apr 2005 20:46:48 +0800
I am current using the following code to store text to the default
clipboard:
GtkClipboard* clip =
gtk_get_clipboard_for_display(gdk_get_display_default(),
GDK_SECTION_CLIPBOARD);
gtk_clipboard_set_text(clip, string, -1);
I wonder if there is a function that does the job in one stroke.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]