Interface TreeView.OnRowActivated

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.

@FunctionalInterface public static interface TreeView.OnRowActivated
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The "row-activated" signal is emitted when the method
    [`method@Gtk.TreeView.row_activated`] is called.
  • Method Details

    • 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`.
      Parameters:
      path - the `GtkTreePath` for the activated row
      column - the `GtkTreeViewColumn` in which the activation occurred