Function

Gtkselection_add_target

Declaration [src]

void
gtk_selection_add_target (
  GtkWidget* widget,
  GdkAtom selection,
  GdkAtom target,
  guint info
)

Description [src]

Appends a specified target 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.

target

Type: GdkAtom

Target to add.

info

Type: guint

A unsigned integer which will be passed back to the application.