Package org.gnome.gtk
Interface ShortcutsSection.ChangeCurrentPageCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
ShortcutsSection
- 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 ShortcutsSection.ChangeCurrentPageCallback
extends FunctionPointer
Deprecated.
Functional interface declaration of the
ChangeCurrentPageCallback callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrun(int offset) Deprecated.This widget will be removed in GTK 5default MemorySegmenttoCallback(Arena arena) Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, int)method.default intupcall(MemorySegment sourceShortcutsSection, int offset) Deprecated.Theupcallmethod is called from native code.
-
Method Details
-
run
Deprecated.This widget will be removed in GTK 5Emitted when we change the current page.The default bindings for this signal are
Ctrl+PgUp,PgUp,Ctrl+PgDn,PgDn. -
upcall
Deprecated.Theupcallmethod is called from native code. The parameters are marshaled andrun(int)is executed. -
toCallback
Deprecated.Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, int)method.- Specified by:
toCallbackin interfaceFunctionPointer- Parameters:
arena- the arena in which the function pointer is allocated- Returns:
- the native function pointer
-