Function

Gtk-3.0Gtkdrag_set_icon_stockDeprecated 3.10

  • Sets the icon for a given drag from a stock ID.

    Parameters

    • Deprecatedcontext: Gdk.DragContext

      the context for a drag (This must be called with a context for the source side of a drag)

    • Deprecatedstock_id: string

      the ID of the stock icon to use for the drag

    • Deprecatedhot_x: number

      the X offset within the icon of the hotspot

    • Deprecatedhot_y: number

      the Y offset within the icon of the hotspot

    Returns void

    since 3.10: Use gtk_drag_set_icon_name() instead.