Schnittstelle TreeView.OnRowActivated

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

@FunctionalInterface public static interface TreeView.OnRowActivated
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    The "row-activated" signal is emitted when the method
    [method@Gtk.TreeView.row_activated] is called.
  • Methodendetails

    • onRowActivated

      void onRowActivated(@Nonnull TreePath path, @Nullable TreeViewColumn column)
      The "row-activated" signal is emitted when the method
      [method@Gtk.TreeView.row_activated] is called.

      This signal is emitted when the user double-clicks a treeview row with the
      [property@Gtk.TreeView:activate-on-single-click] property set to %FALSE,
      or when the user single-clicks a row when that property set to %TRUE.

      This signal is also emitted when a non-editable row is selected and one
      of the keys: <kbd>Space</kbd>, <kbd>Shift</kbd>+<kbd>Space</kbd>,
      <kbd>Return</kbd> or <kbd>Enter</kbd> is pressed.

      For selection handling refer to the
      [tree widget conceptual overview](section-tree-widget.html)
      as well as `GtkTreeSelection`.
      Parameter:
      path - the `GtkTreePath` for the activated row
      column - the `GtkTreeViewColumn` in which the activation occurred