Function

GtkTargetEntrynew

Declaration [src]

GtkTargetEntry*
gtk_target_entry_new (
  const gchar* target,
  guint flags,
  guint info
)

Description [src]

Makes a new GtkTargetEntry.

Parameters

target

Type: const gchar*

String identifier for target.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
flags

Type: guint

Set of flags, see GtkTargetFlags.

info

Type: guint

An ID that will be passed back to the application.

Return value

Type: GtkTargetEntry

A pointer to a new GtkTargetEntry. Free with gtk_target_entry_free().

The caller of the function takes ownership of the data, and is responsible for freeing it.