mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gdk: Expand the clipboard documentation
This commit is contained in:
parent
77f0e678ec
commit
91499d4b0e
@ -41,7 +41,16 @@
|
||||
* the same application.
|
||||
*
|
||||
* To get a GdkClipboard object, use gdk_display_get_clipboard() or
|
||||
* gdk_display_get_primary_clipboard().
|
||||
* gdk_display_get_primary_clipboard(). You can find out about the data that
|
||||
* is currently available in a clipboard using gdk_clipboard_get_formats().
|
||||
*
|
||||
* To make text or image data available in a clipboard, use gdk_clipboard_set_text() or
|
||||
* gdk_clipboard_set_texture(). For other data, you can use gdk_clipboard_set_content(),
|
||||
* which takes a #GdkContentProvider object.
|
||||
*
|
||||
* To read textual or image data from a clipboard, use gdk_clipboard_read_text_async() or
|
||||
* gdk_clipboard_read_texture_async(). For other data, use gdk_clipboard_read_async(),
|
||||
* which provides a #GInputStream object.
|
||||
*/
|
||||
|
||||
typedef struct _GdkClipboardPrivate GdkClipboardPrivate;
|
||||
|
Loading…
Reference in New Issue
Block a user