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 TypeMethodDescriptionvoidrun()Deprecated.This widget will be removed in GTK 5default MemorySegmenttoCallback(Arena arena) Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment)method.default voidupcall(MemorySegment sourceAssistant) Deprecated.Theupcallmethod 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
GtkAssistantis 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.PROGRESSafter the confirmation page and handle this operation within theGtk.Assistant::preparesignal of the progress page. -
upcall
Deprecated.Theupcallmethod 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:
toCallbackin interfaceFunctionPointer- Parameters:
arena- the arena in which the function pointer is allocated- Returns:
- the native function pointer
-