Interface FileChooserWidget.OnLocationPopup

Enclosing class:
FileChooserWidget
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 FileChooserWidget.OnLocationPopup
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the user asks for it.
  • Method Details

    • onLocationPopup

      void onLocationPopup(@Nonnull Str path)
      Emitted when the user asks for it.

      This is a [keybinding signal](class.SignalAction.html).

      This is used to make the file chooser show a "Location" prompt which
      the user can use to manually type the name of the file he wishes to select.

      The default bindings for this signal are <kbd>Control</kbd>-<kbd>L</kbd>
      with a @path string of "" (the empty string). It is also bound to
      <kbd>/</kbd> with a @path string of "`/`" (a slash): this lets you
      type `/` and immediately type a path name. On Unix systems, this is
      bound to <kbd>~</kbd> (tilde) with a @path string of "~" itself for
      access to home directories.
      Parameters:
      path - a string that gets put in the text entry for the file name