GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
- guint time,
gpointer data)
{
GdkPaintable *paintable;
GdkDragContext *context,
GtkSelectionData *selection,
guint target_info,
- guint time,
gpointer data)
{
GtkWidget *image;
GdkDragContext *context,
GtkSelectionData *selection,
guint target_info,
- guint time,
gpointer data)
{
gchar *uris[2];
static void gtk_calendar_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time);
+ GtkSelectionData *selection_data);
static void gtk_calendar_drag_data_received (GtkWidget *widget,
GdkDrop *drop,
GtkSelectionData *selection_data);
static void
gtk_calendar_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
GtkCalendar *calendar = GTK_CALENDAR (widget);
GtkCalendarPrivate *priv = calendar->priv;
static void gtk_color_button_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
GtkColorButton *button);
/* target side drag signals */
gtk_color_button_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
GtkColorButton *button)
{
GtkColorButtonPrivate *priv = gtk_color_button_get_instance_private (button);
static void
swatch_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
GtkColorSwatch *swatch = GTK_COLOR_SWATCH (widget);
guint16 vals[4];
* #GtkWidget::drag-data-received signal
* @drop: the #GdkDrop
* @target: the target (form of the data) to retrieve
- * @time_: a timestamp for retrieving the data. This will
- * generally be the time received in a #GtkWidget::drag-motion
- * or #GtkWidget::drag-drop signal
*
* Gets the data associated with a drag. When the data
* is received or the retrieval fails, GTK+ will emit a
g_signal_emit_by_name (content->widget, "drag-data-get",
content->context,
- &sdata,
- content->time);
+ &sdata);
if (sdata.length == -1)
{
GdkDragContext *context;
int dx, dy;
GtkDragContent *content;
- guint32 time;
-
- time = gtk_get_current_event_time ();
if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD)
device = gdk_device_get_associated_device (device);
content = g_object_new (GTK_TYPE_DRAG_CONTENT, NULL);
content->widget = g_object_ref (widget);
content->formats = gdk_content_formats_ref (target_list);
- content->time = time;
context = gdk_drag_begin (gtk_widget_get_surface (toplevel), device, GDK_CONTENT_PROVIDER (content), actions, dx, dy);
if (context == NULL)
GtkSelectionData *selection_data);
static void gtk_entry_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time);
+ GtkSelectionData *selection_data);
static void gtk_entry_drag_data_delete (GtkWidget *widget,
GdkDragContext *context);
static void gtk_entry_drag_begin (GtkWidget *widget,
static void
gtk_entry_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
GtkEntry *entry = GTK_ENTRY (widget);
GtkEntryPrivate *priv = gtk_entry_get_instance_private (entry);
GdkDragContext *context);
static void gtk_icon_view_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time);
+ GtkSelectionData *selection_data);
static void gtk_icon_view_drag_data_delete (GtkWidget *widget,
GdkDragContext *context);
static void
gtk_icon_view_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
GtkIconView *icon_view;
GtkTreeModel *model;
guint last_key);
static void gtk_label_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time);
+ GtkSelectionData *selection_data);
static void gtk_label_buildable_interface_init (GtkBuildableIface *iface);
static gboolean gtk_label_buildable_custom_tag_start (GtkBuildable *buildable,
static void
gtk_label_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
gtk_label_set_selection_text (GTK_LABEL (widget), selection_data);
}
static void gtk_link_button_drag_data_get_cb (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection,
- guint _time,
gpointer user_data);
static gboolean gtk_link_button_query_tooltip_cb (GtkWidget *widget,
gint x,
gtk_link_button_drag_data_get_cb (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection,
- guint _time,
gpointer user_data)
{
GtkLinkButton *link_button = GTK_LINK_BUTTON (widget);
VOID:OBJECT,BOOLEAN
VOID:OBJECT,BOXED
VOID:OBJECT,BOXED,BOXED
-VOID:OBJECT,BOXED,UINT
VOID:OBJECT,BOXED,BOOLEAN,BOOLEAN
VOID:OBJECT,ENUM
VOID:OBJECT,FLAGS
gint y);
static void gtk_notebook_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *data,
- guint time);
+ GtkSelectionData *data);
static void gtk_notebook_drag_data_received (GtkWidget *widget,
GdkDrop *drop,
GtkSelectionData *data);
static void
gtk_notebook_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *data,
- guint time)
+ GtkSelectionData *data)
{
GtkNotebook *notebook = GTK_NOTEBOOK (widget);
GtkNotebookPrivate *priv = notebook->priv;
button_drag_data_get_cb (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time_,
gpointer data)
{
ButtonData *button_data;
GdkDragContext *context);
static void gtk_text_view_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time);
+ GtkSelectionData *selection_data);
static void gtk_text_view_drag_data_delete (GtkWidget *widget,
GdkDragContext *context);
static void
gtk_text_view_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
GtkTextView *text_view = GTK_TEXT_VIEW (widget);
GtkTextBuffer *buffer = gtk_text_view_get_buffer (text_view);
GdkDragContext *context);
static void gtk_tree_view_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time);
+ GtkSelectionData *selection_data);
static void gtk_tree_view_drag_data_delete (GtkWidget *widget,
GdkDragContext *context);
static void
gtk_tree_view_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time)
+ GtkSelectionData *selection_data)
{
GtkTreeView *tree_view;
GtkTreeModel *model;
* @data: the #GtkSelectionData to be filled with the dragged data
* @info: the info that has been registered with the target in the
* #GtkTargetList
- * @time: the timestamp at which the data was requested
*
* The ::drag-data-get signal is emitted on the drag source when the drop
* site requests the data which is dragged. It is the responsibility of
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkWidgetClass, drag_data_get),
NULL, NULL,
- _gtk_marshal_VOID__OBJECT_BOXED_UINT,
- G_TYPE_NONE, 3,
+ _gtk_marshal_VOID__OBJECT_BOXED,
+ G_TYPE_NONE, 2,
GDK_TYPE_DRAG_CONTEXT,
- GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
- G_TYPE_UINT);
+ GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE);
/**
* GtkWidget::drag-data-received:
GdkDragContext *context);
void (* drag_data_get) (GtkWidget *widget,
GdkDragContext *context,
- GtkSelectionData *selection_data,
- guint time_);
+ GtkSelectionData *selection_data);
void (* drag_data_delete) (GtkWidget *widget,
GdkDragContext *context);
source_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
gpointer data)
{
if (gtk_selection_data_get_target (selection_data) == g_intern_static_string ("application/x-rootwindow-drop"))
image_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
gpointer data)
{
GdkPaintable *paintable;
spinner_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
gpointer data)
{
g_print ("GtkWidget::drag-data-get\n");
drag_data_get_cb (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *data,
- guint time,
gpointer user_data)
{
gint pos;
drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
gpointer data)
{
GtkWidget *image = GTK_WIDGET (data);
drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
- guint time,
gpointer data)
{
gtk_selection_data_set (selection_data,