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-
Type:
GtkWidgetA
GtkWidget.The data is owned by the caller of the function. selection-
Type:
GdkAtomThe selection.
targets-
Type: An array of
GtkTargetEntryA table of targets to add.
The length of the array is specified in the ntargetsargument.The data is owned by the caller of the function. ntargets-
Type:
guintNumber of entries in
targets.