diff options
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkclipboard.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkclipboard.sgml | 121 |
1 files changed, 61 insertions, 60 deletions
diff --git a/docs/reference/gtk/tmpl/gtkclipboard.sgml b/docs/reference/gtk/tmpl/gtkclipboard.sgml index 2b46d0c677..3aa4d27fc2 100644 --- a/docs/reference/gtk/tmpl/gtkclipboard.sgml +++ b/docs/reference/gtk/tmpl/gtkclipboard.sgml @@ -68,7 +68,7 @@ Storing data on Clipboards. and converting the results into the UTF-8 encoding. (The standard form for representing strings in GTK+.) </para> - + <!-- ##### SECTION See_Also ##### --> <para> <variablelist> @@ -90,41 +90,29 @@ Storing data on Clipboards. </para> -<!-- ##### FUNCTION gtk_clipboard_get ##### --> -<para> - -</para> - -@selection: -@Returns: - - -<!-- ##### FUNCTION gtk_clipboard_set_with_data ##### --> +<!-- ##### USER_FUNCTION GtkClipboardReceivedFunc ##### --> <para> - + A function to be called when the results of gtk_clipboard_request_text() + are received, or when the request fails. </para> -@clipboard: -@targets: -@n_targets: -@get_func: -@clear_func: -@user_data: -@Returns: +@clipboard: the #GtkClipboard +@selection_data: a #GtkSelectionData containing the data was received. + If retrieving the data failed, then then length field + of @selection_data will be negative. +@data: the @user_data supplied to gtk_clipboard_request_contents(). -<!-- ##### FUNCTION gtk_clipboard_set_with_owner ##### --> +<!-- ##### USER_FUNCTION GtkClipboardTextReceivedFunc ##### --> <para> - + A function to be called when the results of gtk_clipboard_request_text() + are received, or when the request fails. </para> -@clipboard: -@targets: -@n_targets: -@get_func: -@clear_func: -@owner: -@Returns: +@clipboard: the #GtkClipboard +@text: the text received, as a UTF-8 encoded string, or %NULL + if retrieving the data failed. +@data: the @user_data supplied to gtk_clipboard_request_text(). <!-- ##### USER_FUNCTION GtkClipboardGetFunc ##### --> @@ -139,15 +127,16 @@ as gtk_seletion_data_get().) If no data is set, the requestor will be informed that the attempt to get the data failed. </para> -@clipboard: the #GtkClipboard -@selection_data: a #GtkSelectionData argument in which the requested - data should be stored. -@info: the info field corresponding to the requested +@clipboard: the #GtkClipboard +@selection_data: a #GtkSelectionData argument in which the requested + data should be stored. +@info: the info field corresponding to the requested target from the #GtkTargetEntry array passed to gtk_clipboard_set_with_data() or gtk_clipboard_set_with_owner(). @user_data_or_owner: the @user_data argument passed to gtk_clipboard_set_with_data(), or the @owner argument passed to gtk_clipboard_set_owner() + <!-- ##### USER_FUNCTION GtkClipboardClearFunc ##### --> <para> A function that will be called when the contents of the clipboard are changed @@ -155,82 +144,94 @@ or cleared. Once this has called, the @user_data_or_owner argument will not be used again. </para> -@clipboard: the #GtkClipboard +@clipboard: the #GtkClipboard @user_data_or_owner: the @user_data argument passed to gtk_clipboard_set_with_data(), or the @owner argument passed to gtk_clipboard_set_owner() -<!-- ##### FUNCTION gtk_clipboard_get_owner ##### --> +<!-- ##### FUNCTION gtk_clipboard_get ##### --> +<para> + +</para> + +@selection: +@Returns: + + +<!-- ##### FUNCTION gtk_clipboard_set_with_data ##### --> <para> </para> @clipboard: +@targets: +@n_targets: +@get_func: +@clear_func: +@user_data: @Returns: -<!-- ##### FUNCTION gtk_clipboard_clear ##### --> +<!-- ##### FUNCTION gtk_clipboard_set_with_owner ##### --> <para> </para> @clipboard: +@targets: +@n_targets: +@get_func: +@clear_func: +@owner: +@Returns: -<!-- ##### FUNCTION gtk_clipboard_set_text ##### --> +<!-- ##### FUNCTION gtk_clipboard_get_owner ##### --> <para> </para> @clipboard: -@text: -@len: +@Returns: -<!-- ##### FUNCTION gtk_clipboard_request_contents ##### --> +<!-- ##### FUNCTION gtk_clipboard_clear ##### --> <para> </para> @clipboard: -@target: -@callback: -@user_data: -<!-- ##### USER_FUNCTION GtkClipboardReceivedFunc ##### --> +<!-- ##### FUNCTION gtk_clipboard_set_text ##### --> <para> - A function to be called when the results of gtk_clipboard_request_text() - are received, or when the request fails. + </para> -@clipboard: the #GtkClipboard -@selection_data: a #GtkSelectionData containing the data was received. - If retrieving the data failed, then then length field - of @selection_data will be negative. -@data: the @user_data supplied to gtk_clipboard_request_contents(). +@clipboard: +@text: +@len: -<!-- ##### FUNCTION gtk_clipboard_request_text ##### --> +<!-- ##### FUNCTION gtk_clipboard_request_contents ##### --> <para> </para> @clipboard: +@target: @callback: @user_data: -<!-- ##### USER_FUNCTION GtkClipboardTextReceivedFunc ##### --> +<!-- ##### FUNCTION gtk_clipboard_request_text ##### --> <para> - A function to be called when the results of gtk_clipboard_request_text() - are received, or when the request fails. + </para> -@clipboard: the #GtkClipboard -@text: the text received, as a UTF-8 encoded string, or %NULL - if retrieving the data failed. -@data: the @user_data supplied to gtk_clipboard_request_text(). +@clipboard: +@callback: +@user_data: <!-- ##### FUNCTION gtk_clipboard_wait_for_contents ##### --> @@ -250,11 +251,11 @@ will not be used again. @clipboard: @Returns: - - <!-- Local variables: mode: sgml sgml-parent-document: ("../gtk-docs.sgml" "book" "refsect2" "") End: --> + + |