Interface TreeDragDest

All Superinterfaces:
Proxy
All Known Implementing Classes:
ListStore, TreeDragDest.TreeDragDest$Impl, TreeStore

@Generated("org.javagi.JavaGI") @Deprecated public interface TreeDragDest extends Proxy
Deprecated.
List views use widgets to display their contents. You can use DropTarget to implement a drop destination
Interface for Drag-and-Drop destinations in GtkTreeView.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Deprecated.
    The TreeDragDest$Impl type represents a native instance of the TreeDragDest interface.
    static class 
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Deprecated.
    Use list models instead
    static @Nullable Type
    Deprecated.
    Get the GType of the TreeDragDest class.
    default boolean
    rowDropPossible(TreePath destPath, Value value)
    Deprecated.
    Use list models instead

    Methods inherited from interface Proxy

    handle
  • Method Details

    • getType

      static @Nullable Type getType()
      Deprecated.
      Get the GType of the TreeDragDest class.
      Returns:
      the GType
    • dragDataReceived

      @Deprecated default boolean dragDataReceived(TreePath dest, Value value)
      Deprecated.
      Use list models instead
      Asks the GtkTreeDragDest to insert a row before the path dest, deriving the contents of the row from value. If dest is outside the tree so that inserting before it is impossible, false will be returned. Also, false may be returned if the new row is not created for some model-specific reason. Should robustly handle a dest no longer found in the model!
      Parameters:
      dest - row to drop in front of
      value - data to drop
      Returns:
      whether a new row was created before position dest
    • rowDropPossible

      @Deprecated default boolean rowDropPossible(TreePath destPath, Value value)
      Deprecated.
      Use list models instead
      Determines whether a drop is possible before the given destPath, at the same depth as destPath. i.e., can we drop the data in value at that location. destPath does not have to exist; the return value will almost certainly be false if the parent of destPath doesn’t exist, though.
      Parameters:
      destPath - destination row
      value - the data being dropped
      Returns:
      true if a drop is possible before destPath