Package org.gnome.gtk
Interface TreeViewColumnDropFunc
- All Superinterfaces:
FunctionPointer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Deprecated
@Generated("io.github.jwharm.JavaGI")
public interface TreeViewColumnDropFunc
extends FunctionPointer
Deprecated.
Functional interface declaration of the
TreeViewColumnDropFunc callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrun(TreeView treeView, TreeViewColumn column, TreeViewColumn prevColumn, TreeViewColumn nextColumn) Deprecated.There is no replacement.default MemorySegmenttoCallback(Arena arena) Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)method.default intupcall(MemorySegment treeView, MemorySegment column, MemorySegment prevColumn, MemorySegment nextColumn, MemorySegment data) Deprecated.Theupcallmethod is called from native code.
-
Method Details
-
run
@Deprecated boolean run(TreeView treeView, TreeViewColumn column, TreeViewColumn prevColumn, TreeViewColumn nextColumn) Deprecated.There is no replacement.Function type for determining whethercolumncan be dropped in a particular spot (as determined byprevColumnandnextColumn).In left to right locales,prevColumnis on the left of the potential drop spot, andnextColumnis on the right. In right to left mode, this is reversed. This function should returntrueif the spot is a valid drop spot. Please note that returningtruedoes not actually indicate that the column drop was made, but is meant only to indicate a possible drop spot to the user. -
upcall
default int upcall(MemorySegment treeView, MemorySegment column, MemorySegment prevColumn, MemorySegment nextColumn, MemorySegment data) Deprecated.Theupcallmethod is called from native code. The parameters are marshaled andrun(org.gnome.gtk.TreeView, org.gnome.gtk.TreeViewColumn, org.gnome.gtk.TreeViewColumn, org.gnome.gtk.TreeViewColumn)is executed. -
toCallback
Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)method.- Specified by:
toCallbackin interfaceFunctionPointer- Parameters:
arena- the arena in which the function pointer is allocated- Returns:
- the native function pointer
-