summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-12-24 00:14:15 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-12-24 00:14:15 +0000
commit5a76c2360080a7a036412e0ace96ead2ad87a950 (patch)
tree8e88acf337bc6f05092c37926da753eb822025e6 /docs
parentf3c77419cfece10966053ce3d85143c1589e63aa (diff)
downloadgtk+-5a76c2360080a7a036412e0ace96ead2ad87a950.tar.gz
Add GtkClipboardTargetReceivedFunc, gtk_clipboard_request_targets() and
Wed Dec 24 01:12:53 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc, gtk_clipboard_request_targets() and gtk_clipboard_wait_for_targets(). (#101774, Dom Lachowicz)
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog9
-rw-r--r--docs/reference/gtk/gtk-sections.txt3
-rw-r--r--docs/reference/gtk/tmpl/gtkclipboard.sgml48
3 files changed, 54 insertions, 6 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index a39ee8eae0..3c319711f2 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,12 @@
+Wed Dec 24 01:12:12 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtk-sections.txt: Add GtkClipboardTargetReceivedFunc,
+ gtk_clipboard_request_targets, gtk_clipboard_wait_for_targets.
+
+Wed Dec 24 01:11:36 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/tmpl/gtkclipboard.sgml: Document GtkClipboardTargetReceivedFunc.
+
Sun Dec 21 01:58:33 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add gtk_menu_shell_cancel.
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index 98673762db..66d918f051 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -4743,6 +4743,7 @@ gtk_selection_data_get_type
GtkClipboard
GtkClipboardReceivedFunc
GtkClipboardTextReceivedFunc
+GtkClipboardTargetsReceivedFunc
GtkClipboardGetFunc
GtkClipboardClearFunc
gtk_clipboard_get
@@ -4755,9 +4756,11 @@ gtk_clipboard_clear
gtk_clipboard_set_text
gtk_clipboard_request_contents
gtk_clipboard_request_text
+gtk_clipboard_request_targets
gtk_clipboard_wait_for_contents
gtk_clipboard_wait_for_text
gtk_clipboard_wait_is_text_available
+gtk_clipboard_wait_for_targets
<SUBSECTION Standard>
GTK_CLIPBOARD
GTK_TYPE_CLIPBOARD
diff --git a/docs/reference/gtk/tmpl/gtkclipboard.sgml b/docs/reference/gtk/tmpl/gtkclipboard.sgml
index 93fffa8be1..a04634dc8a 100644
--- a/docs/reference/gtk/tmpl/gtkclipboard.sgml
+++ b/docs/reference/gtk/tmpl/gtkclipboard.sgml
@@ -115,6 +115,20 @@ Storing data on clipboards
@data: the @user_data supplied to gtk_clipboard_request_text().
+<!-- ##### USER_FUNCTION GtkClipboardTargetsReceivedFunc ##### -->
+<para>
+ A function to be called when the results of gtk_clipboard_request_targets()
+ are received, or when the request fails.
+</para>
+
+@clipboard: the #GtkClipboard
+@atoms: the supported targets, as array of #GdkAtom, or %NULL
+ if retrieving the data failed.
+@n_atoms: the length of the @atoms array.
+@data: the @user_data supplied to gtk_clipboard_request_targets().
+@Since: 2.4
+
+
<!-- ##### USER_FUNCTION GtkClipboardGetFunc ##### -->
<para>
A function that will be called to provide the contents of the selection.
@@ -253,6 +267,16 @@ will not be used again.
@user_data:
+<!-- ##### FUNCTION gtk_clipboard_request_targets ##### -->
+<para>
+
+</para>
+
+@clipboard:
+@callback:
+@user_data:
+
+
<!-- ##### FUNCTION gtk_clipboard_wait_for_contents ##### -->
<para>
@@ -269,12 +293,7 @@ will not be used again.
</para>
@clipboard:
-@Returns: <!--
-Local variables:
-mode: sgml
-sgml-parent-document: ("../gtk-docs.sgml" "book" "refsect2" "")
-End:
--->
+@Returns:
<!-- ##### FUNCTION gtk_clipboard_wait_is_text_available ##### -->
@@ -286,3 +305,20 @@ End:
@Returns:
+<!-- ##### FUNCTION gtk_clipboard_wait_for_targets ##### -->
+<para>
+
+</para>
+
+@clipboard:
+@targets:
+@n_targets:
+@Returns:
+
+<!--
+Local variables:
+mode: sgml
+sgml-parent-document: ("../gtk-docs.sgml" "book" "refsect2" "")
+End:
+-->
+