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.


_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to