Add a function to get the selection of a clipboard

This was requested in
http://bugzilla.gnome.org/show_bug.cgi?id=730821
This commit is contained in:
Matthias Clasen
2016-03-26 23:30:21 -04:00
parent cb738bc201
commit 100cf2442e
3 changed files with 21 additions and 0 deletions

View File

@ -290,6 +290,8 @@ void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
GDK_AVAILABLE_IN_ALL
void gtk_clipboard_store (GtkClipboard *clipboard);
GDK_AVAILABLE_IN_3_22
GdkAtom gtk_clipboard_get_selection (GtkClipboard *clipboard);
G_END_DECLS