Struct

GtkTargetList

Description [src]

struct GtkTargetList {
  /* No available fields */
}

A GtkTargetList-struct is a reference counted list of GtkTargetPair and should be treated as opaque.

Constructors

gtk_target_list_new

Creates a new GtkTargetList from an array of GtkTargetEntry.

Instance methods

gtk_target_list_add

Appends another target to a GtkTargetList.

gtk_target_list_add_image_targets

Appends the image targets supported by GtkSelectionData to the target list. All targets are added with the same info.

since: 2.6

gtk_target_list_add_rich_text_targets

Appends the rich text targets registered with gtk_text_buffer_register_serialize_format() or gtk_text_buffer_register_deserialize_format() to the target list. All targets are added with the same info.

since: 2.10

gtk_target_list_add_table

Prepends a table of GtkTargetEntry to a target list.

gtk_target_list_add_text_targets

Appends the text targets supported by GtkSelectionData to the target list. All targets are added with the same info.

since: 2.6

gtk_target_list_add_uri_targets

Appends the URI targets supported by GtkSelectionData to the target list. All targets are added with the same info.

since: 2.6

gtk_target_list_find

Looks up a given target in a GtkTargetList.

gtk_target_list_ref

Increases the reference count of a GtkTargetList by one.

gtk_target_list_remove

Removes a target from a target list.

gtk_target_list_unref

Decreases the reference count of a GtkTargetList by one. If the resulting reference count is zero, frees the list.