TreeViewColumnDropFunc


Description:

[ CCode ( instance_pos = 4.9 ) ]
public delegate bool TreeViewColumnDropFunc (TreeView tree_view, TreeViewColumn column, TreeViewColumn prev_column, TreeViewColumn next_column)

Function type for determining whether column can be dropped in a particular spot (as determined by prev_column and next_column).

In left to right locales, prev_column is on the left of the potential drop spot, and next_column is on the right. In right to left mode, this is reversed. This function should return true if the spot is a valid drop spot. Please note that returning true does not actually indicate that the column drop was made, but is meant only to indicate a possible drop spot to the user.

Parameters:

tree_view

A TreeView

column

The TreeViewColumn being dragged

prev_column

A TreeViewColumn on one side of column

next_column

A TreeViewColumn on the other side of column

data

user data

Returns:

true, if column can be dropped in this spot


Namespace: Gtk
Package: gtk+-3.0