]> Pileus Git - ~andy/gtk/blobdiff - docs/reference/gtk/tmpl/gtkdnd.sgml
Make 3.0 parallel-installable to 2.x
[~andy/gtk] / docs / reference / gtk / tmpl / gtkdnd.sgml
index 7042051d4a880707575188c5f38ad60115bca1b7..5477bff72e519597415955896cceb4b7a23e8cad 100644 (file)
@@ -24,6 +24,12 @@ in the #GtkWidget class.
 
 </para>
 
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### SECTION Image ##### -->
+
+
 <!-- ##### ENUM GtkDestDefaults ##### -->
 <para>
 The #GtkDestDefaults enumeration specifies the various
@@ -63,25 +69,25 @@ constraints on an entry in a #GtkTargetTable.
 @GTK_TARGET_SAME_APP: 
    If this is set, the target will only be selected
    for drags within a single application.
-@GTK_TARGET_SAME_WIDGET:
+@GTK_TARGET_SAME_WIDGET: 
    If this is set, the target will only be selected
    for drags within a single widget.
+@GTK_TARGET_OTHER_APP: 
+   If this is set, the target will not be selected
+   for drags within a single application. Since 2.12
+@GTK_TARGET_OTHER_WIDGET: 
+   If this is set, the target will not be selected
+   for drags withing a single widget. Since 2.12
 
 <!-- ##### FUNCTION gtk_drag_dest_set ##### -->
 <para>
-Sets a widget as a potential drop destination.
 </para>
 
-@widget: a #GtkWidget
-@flags: the flags that specify what actions GTK+ should take
- on behalf of a widget for drops onto that widget. The @targets
- and @actions fields only are used if %GTK_DEST_DEFAULT_MOTION
- or %GTK_DEST_DEFAULT_DROP are given.
-@targets: a pointer to an array of #GtkTargetEntry<!-- -->s indicating
- the drop types that this widget will accept.
-@n_targets: the number of entries in @targets.
-@actions: a bitmask of possible actions for a drop onto this
- widget.
+@widget: 
+@flags: 
+@targets: 
+@n_targets: 
+@actions: 
 
 
 <!-- ##### FUNCTION gtk_drag_dest_set_proxy ##### -->
@@ -137,6 +143,48 @@ notification of drags.
 @target_list: 
 
 
+<!-- ##### FUNCTION gtk_drag_dest_add_text_targets ##### -->
+<para>
+
+</para>
+
+@widget: 
+
+
+<!-- ##### FUNCTION gtk_drag_dest_add_image_targets ##### -->
+<para>
+
+</para>
+
+@widget: 
+
+
+<!-- ##### FUNCTION gtk_drag_dest_add_uri_targets ##### -->
+<para>
+
+</para>
+
+@widget: 
+
+
+<!-- ##### FUNCTION gtk_drag_dest_set_track_motion ##### -->
+<para>
+
+</para>
+
+@widget: 
+@track_motion: 
+
+
+<!-- ##### FUNCTION gtk_drag_dest_get_track_motion ##### -->
+<para>
+
+</para>
+
+@widget: 
+@Returns: 
+
+
 <!-- ##### FUNCTION gtk_drag_finish ##### -->
 <para>
 Informs the drag source that the drop is finished, and
@@ -157,7 +205,7 @@ is received or the retrieval fails, GTK+ will emit a
 "drag_data_received" signal. Failure of the retrieval
 is indicated by the length field of the @selection_data
 signal parameter being negative. However, when gtk_drag_get_data() 
-is called implicitely because the %GTK_DRAG_DEFAULT_DROP was set, 
+is called implicitely because the %GTK_DEST_DEFAULT_DROP was set, 
 then the widget will not receive notification of failed
 drops.
 </para>
@@ -203,21 +251,15 @@ a widget.
 
 <!-- ##### FUNCTION gtk_drag_begin ##### -->
 <para>
-Initiates a drag on the source side. The function
-only needs to be used when the application is
-starting drags itself, and is not needed when
-gtk_drag_source_set() is used.
+
 </para>
 
-@widget: the source widget.
-@targets: The targets (data formats) in which the
- source can provide the data.
-@actions: A bitmask of the allowed drag actions for this
-          drag.
-@button: The button the user clicked to start the drag.
-@event: The event that triggered the start of the
-        drag.
-@Returns: The context for this drag.
+@widget: 
+@targets: 
+@actions: 
+@button: 
+@event: 
+@Returns: 
 
 
 <!-- ##### FUNCTION gtk_drag_set_icon_widget ##### -->
@@ -264,23 +306,22 @@ gtk_drag_source_set() is used.
 @hot_y: 
 
 
-<!-- ##### FUNCTION gtk_drag_set_icon_default ##### -->
+<!-- ##### FUNCTION gtk_drag_set_icon_name ##### -->
 <para>
+
 </para>
 
 @context: 
+@icon_name: 
+@hot_x: 
+@hot_y: 
 
 
-<!-- ##### FUNCTION gtk_drag_set_default_icon ##### -->
+<!-- ##### FUNCTION gtk_drag_set_icon_default ##### -->
 <para>
-
 </para>
 
-@colormap: 
-@pixmap: 
-@mask: 
-@hot_x: 
-@hot_y: 
+@context: 
 
 
 <!-- ##### FUNCTION gtk_drag_check_threshold ##### -->
@@ -298,17 +339,14 @@ gtk_drag_source_set() is used.
 
 <!-- ##### FUNCTION gtk_drag_source_set ##### -->
 <para>
-Sets up a widget so that GTK+ will start a drag
-operation when the user clicks and drags on the
-widget. The widget must have a window.
+
 </para>
 
-@widget: a #GtkWidget
-@start_button_mask: the bitmask of buttons that can start the drag
-@targets: the table of targets that the drag will support
-@n_targets: the number of items in @targets
-@actions: the bitmask of possible actions for a drag from this
- widget.
+@widget: 
+@start_button_mask: 
+@targets: 
+@n_targets: 
+@actions: 
 
 
 <!-- ##### FUNCTION gtk_drag_source_set_icon ##### -->
@@ -339,6 +377,15 @@ widget. The widget must have a window.
 @stock_id: 
 
 
+<!-- ##### FUNCTION gtk_drag_source_set_icon_name ##### -->
+<para>
+
+</para>
+
+@widget: 
+@icon_name: 
+
+
 <!-- ##### FUNCTION gtk_drag_source_unset ##### -->
 <para>
 Undoes the effects of gtk_drag_source_set().
@@ -347,3 +394,45 @@ Undoes the effects of gtk_drag_source_set().
 @widget: a #GtkWidget
 
 
+<!-- ##### FUNCTION gtk_drag_source_set_target_list ##### -->
+<para>
+
+</para>
+
+@widget: 
+@target_list: 
+
+
+<!-- ##### FUNCTION gtk_drag_source_get_target_list ##### -->
+<para>
+
+</para>
+
+@widget: 
+@Returns: 
+
+
+<!-- ##### FUNCTION gtk_drag_source_add_text_targets ##### -->
+<para>
+
+</para>
+
+@widget: 
+
+
+<!-- ##### FUNCTION gtk_drag_source_add_image_targets ##### -->
+<para>
+
+</para>
+
+@widget: 
+
+
+<!-- ##### FUNCTION gtk_drag_source_add_uri_targets ##### -->
+<para>
+
+</para>
+
+@widget: 
+
+