Package org.gnome.adw
Interface AboutWindow.ActivateLinkCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
AboutWindow
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Deprecated
public static interface AboutWindow.ActivateLinkCallback
extends FunctionPointer
Deprecated.
Functional interface declaration of the
ActivateLinkCallback
callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.default MemorySegment
toCallback
(Arena arena) Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
method.default int
upcall
(MemorySegment sourceAboutWindow, MemorySegment uri) Deprecated.Theupcall
method is called from native code.
-
Method Details
-
run
Deprecated.UseAboutDialog
.Emitted when a URL is activated.Applications may connect to it to override the default behavior, which is to call
Gtk.showUri(org.gnome.gtk.Window, java.lang.String, int)
. -
upcall
Deprecated.Theupcall
method is called from native code. The parameters are marshaled andrun(java.lang.String)
is executed. -
toCallback
Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
method.- Specified by:
toCallback
in interfaceFunctionPointer
- Parameters:
arena
- the function pointer will be allocated in this arena- Returns:
- the native function pointer
-
AboutDialog
.