selection_add_target

function selection_add_target(widget:Gtk.Widget, selection:Gdk.Atom, target:Gdk.Atom, info:Number):void {
    // Gjs wrapper for gtk_selection_add_target()
}

Appends a specified target to the list of supported targets for a given widget and selection.

widget

a #GtkTarget

selection

the selection

target

target to add.

info

A unsigned integer which will be passed back to the application.