Package org.gnome.gtk
Interface Assistant.ApplyCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
Assistant
- 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 Assistant.ApplyCallback
extends FunctionPointer
Deprecated.
Functional interface declaration of the
ApplyCallback
callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Deprecated.This widget will be removed in GTK 5default MemorySegment
toCallback
(Arena arena) Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment)
method.default void
upcall
(MemorySegment sourceAssistant) Deprecated.Theupcall
method is called from native code.
-
Method Details
-
run
Deprecated.This widget will be removed in GTK 5Emitted when the apply button is clicked.The default behavior of the
GtkAssistant
is to switch to the page after the current page, unless the current page is the last one.A handler for the ::apply signal should carry out the actions for which the wizard has collected data. If the action takes a long time to complete, you might consider putting a page of type
AssistantPageType.PROGRESS
after the confirmation page and handle this operation within theGtk.Assistant::prepare
signal of the progress page. -
upcall
Deprecated.Theupcall
method is called from native code. The parameters are marshaled andrun()
is executed. -
toCallback
Deprecated.Creates a native function pointer to theupcall(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
-