Function

Gtk-3.0Gtkdrag_set_icon_pixbuf

  • Sets pixbuf as the icon for a given drag.

    Parameters

    • context: Gdk.DragContext

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

    • pixbuf: GdkPixbuf.Pixbuf

      the GdkPixbuf.Pixbuf to use as the drag icon

    • hot_x: number

      the X offset within widget of the hotspot

    • hot_y: number

      the Y offset within widget of the hotspot

    Returns void