Method

Gtk TreeViewenable_model_drag_dest

Declaration [src]

void
gtk_tree_view_enable_model_drag_dest(
GtkTreeView*tree_view,
constGtkTargetEntry*targets,
gintn_targets,
GdkDragActionactions
)

Description [src]

Turns tree_view into a drop destination for automatic DND. Calling this method sets GtkTreeView:reorderable to FALSE.

Parameters

targets

Type: An array of GtkTargetEntry

The table of targets that the drag will support.

The length of the array is specified in the n_targets argument.
The data is owned by the caller of the method.
n_targets

Type: gint

The number of items in targets.

actions

Type:

The bitmask of possible actions for a drag from this widget.

AltStyle によって変換されたページ (->オリジナル) /