Function
GtkTargetListnew
Declaration [src]
GtkTargetList*
gtk_target_list_new (
const GtkTargetEntry* targets,
guint ntargets
)
Parameters
targets-
Type: An array of
GtkTargetEntryPointer to an array of
GtkTargetEntry.The argument can be NULL.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.
Return value
Type: GtkTargetList
The new GtkTargetList.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |