Interface AppChooserButton.OnCustomItemActivated

Enclosing class:
AppChooserButton
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 AppChooserButton.OnCustomItemActivated
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when a custom item is activated.
  • Method Details

    • onCustomItemActivated

      void onCustomItemActivated(@Nonnull Str item_name)
      Emitted when a custom item is activated.

      Use [method@Gtk.AppChooserButton.append_custom_item],
      to add custom items.
      Parameters:
      item_name - the name of the activated item