selection_add_targets
function selection_add_targets(widget:Gtk.Widget, selection:Gdk.Atom, targets:[Gtk.TargetEntry]):void {
// Gjs wrapper for gtk_selection_add_targets()
}Prepends a table of targets to the list of supported targets for a given widget and selection.
- widget
- selection
the selection
- targets
a table of targets to add