Interface ListBox.OnRowSelected

Enclosing class:
ListBox
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 ListBox.OnRowSelected
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when a new row is selected, or (with a %NULL @row)
    when the selection is cleared.
  • Method Details

    • onRowSelected

      void onRowSelected(@Nullable ListBoxRow row)
      Emitted when a new row is selected, or (with a %NULL @row)
      when the selection is cleared.

      When the @box is using %GTK_SELECTION_MULTIPLE, this signal will not
      give you the full picture of selection changes, and you should use
      the [signal@Gtk.ListBox::selected-rows-changed] signal instead.
      Parameters:
      row - the selected row