Schnittstelle TreeModel.OnRowsReordered

Umschließende Klasse:
TreeModel
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface TreeModel.OnRowsReordered
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onRowsReordered(TreePath path, TreeIter iter, Pointer new_order)
    This signal is emitted when the children of a node in the
    `GtkTreeModel` have been reordered.
  • Methodendetails

    • onRowsReordered

      void onRowsReordered(@Nonnull TreePath path, @Nonnull TreeIter iter, @Nullable Pointer new_order)
      This signal is emitted when the children of a node in the
      `GtkTreeModel` have been reordered.

      Note that this signal is not emitted
      when rows are reordered by DND, since this is implemented
      by removing and then reinserting the row.
      Parameter:
      path - a `GtkTreePath` identifying the tree node whose children have been reordered
      iter - a valid `GtkTreeIter` pointing to the node whose children have been reordered, or %NULL if the depth of @path is 0
      new_order - an array of integers mapping the current position of each child to its old position before the re-ordering, i.e. @new_order`[newpos] = oldpos`