org.gnu.gtk
Interface TreeViewColumnDrop
public interface TreeViewColumnDrop
allowColumnDrop
public boolean allowColumnDrop(TreeView treeView,
TreeViewColumn column,
TreeViewColumn prevColumn,
TreeViewColumn nextColumn)
Determins whether column can be dropped in a particular spot (as
determined by prevColumn and nextColumn). In left to right locales,
prevColumn is on the left of the potential drop spot, and nextColumn is
on the right. In right to left mode, this is reversed. This method 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.
treeView
- A TreeViewcolumn
- The TreeViewColumn being draggedprevColumn
- A TreeViewColumn on one side of columnnextColumn
- A TreeViewColumn on the other side of column
- TRUE, if column can be dropped in this spot