Interface ListBox.OnListBoxUpdateHeaderFunc

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.OnListBoxUpdateHeaderFunc
  • Method Details

    • onListBoxUpdateHeaderFunc

      void onListBoxUpdateHeaderFunc(CallbackHandler __self, @Nonnull ListBoxRow row, @Nullable ListBoxRow before, @Nullable Pointer user_data)
      Whenever @row changes or which row is before @row changes this
      is called, which lets you update the header on @row.

      You may remove or set a new one via [method@Gtk.ListBoxRow.set_header]
      or just change the state of the current header widget.
      Parameters:
      row - the row to update
      before - the row before @row, or %NULL if it is first
      user_data - user data