Schnittstelle ListBox.OnRowSelected

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

@FunctionalInterface public static interface ListBox.OnRowSelected
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted when a new row is selected, or (with a %NULL @row)
    when the selection is cleared.
  • Methodendetails

    • 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.
      Parameter:
      row - the selected row