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:
GtkWidget
A
GtkWidget
.The data is owned by the caller of the function. selection
-
Type:
GdkAtom
The selection.
targets
-
Type: 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
-
Type:
guint
Number of entries in
targets
.