Interface Widget.OnMnemonicActivate

Enclosing class:
Widget
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 Widget.OnMnemonicActivate
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onMnemonicActivate(boolean group_cycling)
    Emitted when a widget is activated via a mnemonic.
  • Method Details

    • onMnemonicActivate

      boolean onMnemonicActivate(boolean group_cycling)
      Emitted when a widget is activated via a mnemonic.

      The default handler for this signal activates @widget if @group_cycling
      is %FALSE, or just makes @widget grab focus if @group_cycling is %TRUE.
      Parameters:
      group_cycling - %TRUE if there are other widgets with the same mnemonic
      Returns:
      %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.