Package ch.bailu.gtk.gtk
Interface TreeView.OnTreeViewColumnDropFunc
- Enclosing class:
- TreeView
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onTreeViewColumnDropFunc
(CallbackHandler __self, TreeView tree_view, TreeViewColumn column, TreeViewColumn prev_column, TreeViewColumn next_column, Pointer data) Function type for determining whether @column can be dropped in a
particular spot (as determined by @prev_column and @next_column).
-
Method Details
-
onTreeViewColumnDropFunc
boolean onTreeViewColumnDropFunc(CallbackHandler __self, @Nonnull TreeView tree_view, @Nonnull TreeViewColumn column, @Nonnull TreeViewColumn prev_column, @Nonnull TreeViewColumn next_column, @Nullable Pointer data) 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 `GtkTreeView`column
- The `GtkTreeViewColumn` being draggedprev_column
- A `GtkTreeViewColumn` on one side of @columnnext_column
- A `GtkTreeViewColumn` on the other side of @columndata
- user data- Returns:
- %TRUE, if @column can be dropped in this spot
-