Package org.gnome.gtk
Interface CellArea.FocusChangedCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
CellArea
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface declaration of the
FocusChangedCallback callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(@Nullable CellRenderer renderer, String path) Indicates that focus changed on thisarea.This signal is emitted either as a result of focus handling or event handling.default MemorySegmenttoCallback(Arena arena) Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)method.default voidupcall(MemorySegment sourceCellArea, MemorySegment renderer, MemorySegment path) Theupcallmethod is called from native code.
-
Method Details
-
run
Indicates that focus changed on thisarea.This signal is emitted either as a result of focus handling or event handling.It's possible that the signal is emitted even if the currently focused renderer did not change, this is because focus may change to the same renderer in the same cell area for a different row of data.
-
upcall
Theupcallmethod is called from native code. The parameters are marshaled andrun(org.gnome.gtk.CellRenderer, java.lang.String)is executed. -
toCallback
Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, 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
-