1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
Drag and Drop
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2002-11-29 23:08:54 +00:00
|
|
|
Functions for controlling drag and drop handling
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
|
|
|
GTK+ has a rich set of functions for doing inter-process
|
2001-10-17 21:41:47 +00:00
|
|
|
communication via the drag-and-drop metaphor. GTK+
|
|
|
|
can do drag-and-drop (DND) via multiple protocols.
|
1999-08-16 18:51:52 +00:00
|
|
|
The currently supported protocols are the Xdnd and
|
|
|
|
Motif protocols.
|
|
|
|
|
|
|
|
As well as the functions listed here, applications
|
|
|
|
may need to use some facilities provided for
|
|
|
|
<link linkend="gtk-Selections">Selections</link>.
|
|
|
|
Also, the Drag and Drop API makes use of signals
|
|
|
|
in the #GtkWidget class.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### ENUM GtkDestDefaults ##### -->
|
|
|
|
<para>
|
Doc typo fix. (#68172)
* gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
* gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
* gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
* gtk/gtkrc.c (gtk_rc_get_style_by_paths),
gtk/gtkwidget.c (gtk_widget_get_toplevel,
gtk_widget_push_composite_child), gtk/gtkdialog.c
(gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
from messing up the indentation of inline examples.
* gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
instead of getenv().
* gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
* gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
Document.
* gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
instead of GTK_WINDOW_XWINDOW(). (#68172)
* gtk/gtk-sections.txt: Move functions which are documented
as "private" or "internal" into Private subsections.
* gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
* gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
* gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
* gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
2002-01-08 00:04:57 +00:00
|
|
|
The #GtkDestDefaults enumeration specifies the various
|
1999-08-16 18:51:52 +00:00
|
|
|
types of action that will be taken on behalf
|
|
|
|
of the user for a drag destination site.
|
|
|
|
</para>
|
|
|
|
|
2002-01-09 10:28:02 +00:00
|
|
|
@GTK_DEST_DEFAULT_MOTION:
|
1999-08-16 18:51:52 +00:00
|
|
|
If set for a widget, GTK+, during a drag over this
|
|
|
|
widget will check if the drag matches this widget's
|
|
|
|
list of possible targets and actions.
|
2003-06-11 23:12:17 +00:00
|
|
|
GTK+ will then call gdk_drag_status() as appropriate.
|
2002-01-09 10:28:02 +00:00
|
|
|
@GTK_DEST_DEFAULT_HIGHLIGHT:
|
1999-08-16 18:51:52 +00:00
|
|
|
If set for a widget, GTK+ will draw a highlight on
|
|
|
|
this widget as long as a drag is over this widget
|
Doc typo fix. (#68172)
* gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
* gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
* gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
* gtk/gtkrc.c (gtk_rc_get_style_by_paths),
gtk/gtkwidget.c (gtk_widget_get_toplevel,
gtk_widget_push_composite_child), gtk/gtkdialog.c
(gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
from messing up the indentation of inline examples.
* gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
instead of getenv().
* gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
* gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
Document.
* gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
instead of GTK_WINDOW_XWINDOW(). (#68172)
* gtk/gtk-sections.txt: Move functions which are documented
as "private" or "internal" into Private subsections.
* gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
* gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
* gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
* gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
2002-01-08 00:04:57 +00:00
|
|
|
and the widget drag format and action are acceptable.
|
2002-01-09 10:28:02 +00:00
|
|
|
@GTK_DEST_DEFAULT_DROP:
|
1999-08-16 18:51:52 +00:00
|
|
|
If set for a widget, when a drop occurs, GTK+ will
|
|
|
|
will check if the drag matches this widget's
|
|
|
|
list of possible targets and actions. If so,
|
2003-06-11 23:12:17 +00:00
|
|
|
GTK+ will call gtk_drag_get_data() on behalf
|
2001-10-17 21:41:47 +00:00
|
|
|
of the widget. Whether or not the drop is successful,
|
1999-08-16 18:51:52 +00:00
|
|
|
GTK+ will call gtk_drag_finish(). If the action
|
2001-10-17 21:41:47 +00:00
|
|
|
was a move, then if the drag was successful, then
|
1999-08-16 18:51:52 +00:00
|
|
|
%TRUE will be passed for the @delete parameter
|
|
|
|
to gtk_drag_finish().
|
2002-01-09 10:28:02 +00:00
|
|
|
@GTK_DEST_DEFAULT_ALL:
|
1999-08-16 18:51:52 +00:00
|
|
|
If set, specifies that all default actions should
|
|
|
|
be taken.
|
|
|
|
|
|
|
|
<!-- ##### ENUM GtkTargetFlags ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
The #GtkTargetFlags enumeration is used to specify
|
|
|
|
constraints on an entry in a #GtkTargetTable.
|
1999-08-17 13:10:00 +00:00
|
|
|
</para>
|
Doc typo fix. (#68172)
* gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
* gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
* gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
* gtk/gtkrc.c (gtk_rc_get_style_by_paths),
gtk/gtkwidget.c (gtk_widget_get_toplevel,
gtk_widget_push_composite_child), gtk/gtkdialog.c
(gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
from messing up the indentation of inline examples.
* gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
instead of getenv().
* gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
* gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
Document.
* gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
instead of GTK_WINDOW_XWINDOW(). (#68172)
* gtk/gtk-sections.txt: Move functions which are documented
as "private" or "internal" into Private subsections.
* gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
* gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
* gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
* gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
2002-01-08 00:04:57 +00:00
|
|
|
|
2002-01-09 10:28:02 +00:00
|
|
|
@GTK_TARGET_SAME_APP:
|
1999-08-16 18:51:52 +00:00
|
|
|
If this is set, the target will only be selected
|
|
|
|
for drags within a single application.
|
2003-07-02 22:45:30 +00:00
|
|
|
@GTK_TARGET_SAME_WIDGET:
|
1999-08-16 18:51:52 +00:00
|
|
|
If this is set, the target will only be selected
|
|
|
|
for drags within a single widget.
|
2007-05-24 05:51:56 +00:00
|
|
|
@GTK_TARGET_OTHER_APP:
|
2007-04-28 15:34:39 +00:00
|
|
|
If this is set, the target will not be selected
|
|
|
|
for drags within a single application. Since 2.12
|
2007-05-24 05:51:56 +00:00
|
|
|
@GTK_TARGET_OTHER_WIDGET:
|
2007-04-28 15:34:39 +00:00
|
|
|
If this is set, the target will not be selected
|
|
|
|
for drags withing a single widget. Since 2.12
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_set ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2007-12-11 18:57:00 +00:00
|
|
|
@widget:
|
|
|
|
@flags:
|
|
|
|
@targets:
|
|
|
|
@n_targets:
|
|
|
|
@actions:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_set_proxy ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Sets this widget as a proxy for drops to another window.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: a #GtkWidget
|
|
|
|
@proxy_window: the window to which to forward drag events
|
|
|
|
@protocol: the drag protocol which the @proxy_window accepts
|
|
|
|
(You can use gdk_drag_get_protocol() to determine this)
|
2003-06-11 23:12:17 +00:00
|
|
|
@use_coordinates: If %TRUE, send the same coordinates to the
|
2001-10-17 21:41:47 +00:00
|
|
|
destination, because it is an embedded
|
1999-08-16 18:51:52 +00:00
|
|
|
subwindow.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_unset ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Clears information about a drop destination set with
|
1999-08-16 18:51:52 +00:00
|
|
|
gtk_drag_dest_set(). The widget will no longer receive
|
|
|
|
notification of drags.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: a #GtkWidget
|
|
|
|
|
|
|
|
|
2001-04-17 18:12:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_find_target ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@context:
|
|
|
|
@target_list:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_get_target_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_set_target_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@target_list:
|
|
|
|
|
|
|
|
|
2004-07-18 15:14:05 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_add_text_targets ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
2004-10-24 07:05:00 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_add_image_targets ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_add_uri_targets ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
2006-05-05 16:21:19 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_set_track_motion ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@track_motion:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_dest_get_track_motion ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_finish ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Informs the drag source that the drop is finished, and
|
1999-08-16 18:51:52 +00:00
|
|
|
that the data of the drag will no longer be required.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@context: the drag context.
|
2001-10-17 21:41:47 +00:00
|
|
|
@success: a flag indicating whether the drop was successful
|
1999-08-16 18:51:52 +00:00
|
|
|
@del: a flag indicating whether the source should delete the
|
|
|
|
original data. (This should be %TRUE for a move)
|
2002-11-08 19:41:50 +00:00
|
|
|
@time_: the timestamp from the "drag_data_drop" signal.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_get_data ##### -->
|
|
|
|
<para>
|
Doc typo fix. (#68172)
* gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
* gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
* gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
* gtk/gtkrc.c (gtk_rc_get_style_by_paths),
gtk/gtkwidget.c (gtk_widget_get_toplevel,
gtk_widget_push_composite_child), gtk/gtkdialog.c
(gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
from messing up the indentation of inline examples.
* gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
instead of getenv().
* gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
* gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
Document.
* gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
instead of GTK_WINDOW_XWINDOW(). (#68172)
* gtk/gtk-sections.txt: Move functions which are documented
as "private" or "internal" into Private subsections.
* gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
* gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
* gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
* gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
2002-01-08 00:04:57 +00:00
|
|
|
Gets the data associated with a drag. When the data
|
1999-08-16 18:51:52 +00:00
|
|
|
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()
|
2003-07-21 21:37:32 +00:00
|
|
|
is called implicitely because the %GTK_DEST_DEFAULT_DROP was set,
|
1999-08-16 18:51:52 +00:00
|
|
|
then the widget will not receive notification of failed
|
|
|
|
drops.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: the widget that will receive the "drag_data_received"
|
|
|
|
signal.
|
|
|
|
@context: the drag context
|
|
|
|
@target: the target (form of the data) to retrieve.
|
2002-11-08 19:41:50 +00:00
|
|
|
@time_: a timestamp for retrieving the data. This will
|
1999-08-16 18:51:52 +00:00
|
|
|
generally be the time received in a "drag_data_motion"
|
|
|
|
or "drag_data_drop" signal.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_get_source_widget ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Determines the source widget for a drag.
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@context: a (destination side) drag context.
|
|
|
|
@Returns: if the drag is occurring within a single application,
|
2001-10-17 21:41:47 +00:00
|
|
|
a pointer to the source widget. Otherwise, %NULL.
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_highlight ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Draws a highlight around a widget. This will attach
|
1999-08-16 18:51:52 +00:00
|
|
|
handlers to "expose_event" and "draw", so the highlight
|
2001-10-17 21:41:47 +00:00
|
|
|
will continue to be displayed until gtk_drag_unhighlight()
|
1999-08-16 18:51:52 +00:00
|
|
|
is called.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: a widget to highlight
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_unhighlight ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Removes a highlight set by gtk_drag_highlight() from
|
1999-08-16 18:51:52 +00:00
|
|
|
a widget.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: a widget to remove the highlight from.
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_begin ##### -->
|
|
|
|
<para>
|
2003-07-21 21:37:32 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2003-07-21 21:37:32 +00:00
|
|
|
@widget:
|
|
|
|
@targets:
|
|
|
|
@actions:
|
|
|
|
@button:
|
|
|
|
@event:
|
|
|
|
@Returns:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_set_icon_widget ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-06-25 01:51:58 +00:00
|
|
|
@context:
|
|
|
|
@widget:
|
|
|
|
@hot_x:
|
|
|
|
@hot_y:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_set_icon_pixmap ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-06-25 01:51:58 +00:00
|
|
|
@context:
|
|
|
|
@colormap:
|
|
|
|
@pixmap:
|
|
|
|
@mask:
|
|
|
|
@hot_x:
|
|
|
|
@hot_y:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
2001-10-13 05:52:14 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_set_icon_pixbuf ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@context:
|
|
|
|
@pixbuf:
|
|
|
|
@hot_x:
|
|
|
|
@hot_y:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_set_icon_stock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@context:
|
|
|
|
@stock_id:
|
|
|
|
@hot_x:
|
|
|
|
@hot_y:
|
|
|
|
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_set_icon_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@context:
|
|
|
|
@icon_name:
|
|
|
|
@hot_x:
|
|
|
|
@hot_y:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_set_icon_default ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-06-25 01:51:58 +00:00
|
|
|
@context:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_set_default_icon ##### -->
|
|
|
|
<para>
|
2001-06-25 01:51:58 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2001-06-25 01:51:58 +00:00
|
|
|
@colormap:
|
|
|
|
@pixmap:
|
|
|
|
@mask:
|
|
|
|
@hot_x:
|
|
|
|
@hot_y:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
2001-04-17 18:12:46 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_check_threshold ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@start_x:
|
|
|
|
@start_y:
|
|
|
|
@current_x:
|
|
|
|
@current_y:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_set ##### -->
|
|
|
|
<para>
|
2010-03-09 00:21:32 +00:00
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
2010-03-09 00:21:32 +00:00
|
|
|
@widget:
|
|
|
|
@start_button_mask:
|
|
|
|
@targets:
|
|
|
|
@n_targets:
|
|
|
|
@actions:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_source_set_icon ##### -->
|
|
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
2001-06-25 01:51:58 +00:00
|
|
|
@widget:
|
|
|
|
@colormap:
|
|
|
|
@pixmap:
|
|
|
|
@mask:
|
1999-08-16 18:51:52 +00:00
|
|
|
|
|
|
|
|
2001-10-13 05:52:14 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_set_icon_pixbuf ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@pixbuf:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_source_set_icon_stock ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@stock_id:
|
|
|
|
|
|
|
|
|
2005-06-20 22:06:27 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_set_icon_name ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@icon_name:
|
|
|
|
|
|
|
|
|
1999-08-16 18:51:52 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_unset ##### -->
|
|
|
|
<para>
|
2001-10-17 21:41:47 +00:00
|
|
|
Undoes the effects of gtk_drag_source_set().
|
1999-08-16 18:51:52 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget: a #GtkWidget
|
|
|
|
|
|
|
|
|
2004-03-02 22:57:40 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_set_target_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@target_list:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_source_get_target_list ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2004-07-18 15:14:05 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_add_text_targets ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
2004-11-12 17:52:08 +00:00
|
|
|
<!-- ##### FUNCTION gtk_drag_source_add_image_targets ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gtk_drag_source_add_uri_targets ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@widget:
|
|
|
|
|
|
|
|
|