Function

Gtkselection_add_targets

Declaration [src]

void
gtk_selection_add_targets (
  GtkWidget* widget,
  GdkAtom selection,
  const GtkTargetEntry* targets,
  guint ntargets
)

Description [src]

Prepends a table of targets to the list of supported targets for a given widget and selection.

Parameters

widget GtkWidget
 

A GtkWidget.

 The data is owned by the caller of the function.
selection GdkAtom
 

The selection.

targets An array of GtkTargetEntry
 

A table of targets to add.

 The length of the array is specified in the ntargets argument.
 The data is owned by the caller of the function.
ntargets guint
 

Number of entries in targets.