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 TypeMethodDescriptionvoid
run
(CellRenderer renderer, String path) Indicates that focus changed on thisarea
.default MemorySegment
toCallback
(Arena arena) Creates a native function pointer to theupcall(java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment, java.lang.foreign.MemorySegment)
method.default void
upcall
(MemorySegment sourceCellArea, MemorySegment renderer, MemorySegment path) Theupcall
method 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
Theupcall
method 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:
toCallback
in interfaceFunctionPointer
- Parameters:
arena
- the function pointer will be allocated in this arena- Returns:
- the native function pointer
-