Interface Label.OnActivateLink

Enclosing class:
Label
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 Label.OnActivateLink
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets emitted to activate a URI.
  • Method Details

    • onActivateLink

      boolean onActivateLink(@Nonnull Str uri)
      Gets emitted to activate a URI.

      Applications may connect to it to override the default behaviour,
      which is to call gtk_show_uri().
      Parameters:
      uri - the URI that is activated
      Returns:
      %TRUE if the link has been activated