org.gnu.gtk
Interface TreeViewColumnDrop


public interface TreeViewColumnDrop


Method Summary
 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).
 

Method Detail

allowColumnDrop

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.

Parameters:
treeView - A TreeView
column - The TreeViewColumn being dragged
prevColumn - A TreeViewColumn on one side of column
nextColumn - A TreeViewColumn on the other side of column
Returns:
TRUE, if column can be dropped in this spot