Interface ListView.OnActivate

Enclosing class:
ListView
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 ListView.OnActivate
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onActivate(int position)
    Emitted when a row has been activated by the user,
    usually via activating the GtkListView|list.activate-item action.
  • Method Details

    • onActivate

      void onActivate(int position)
      Emitted when a row has been activated by the user,
      usually via activating the GtkListView|list.activate-item action.

      This allows for a convenient way to handle activation in a listview.
      See [method@Gtk.ListItem.set_activatable] for details on how to use
      this signal.
      Parameters:
      position - position of item to activate