Interface CellLayoutDataFunc
- All Superinterfaces:
FunctionPointer
- 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
@Generated("org.javagi.JavaGI")
public interface CellLayoutDataFunc
extends FunctionPointer
Deprecated.
Functional interface declaration of the CellLayoutDataFunc callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(CellLayout cellLayout, CellRenderer cell, TreeModel treeModel, TreeIter iter) Deprecated.There is no replacementdefault MemorySegmenttoCallback(Arena arena) Deprecated.Creates a native function pointer to theupcall(MemorySegment, MemorySegment, MemorySegment, MemorySegment, MemorySegment)method.default voidupcall(MemorySegment cellLayout, MemorySegment cell, MemorySegment treeModel, MemorySegment iter, MemorySegment data) Deprecated.Theupcallmethod is called from native code.
-
Method Details
-
run
Deprecated.There is no replacementA function which should set the value ofcellLayout’scell renderer(s) as appropriate.- Parameters:
cellLayout- aGtkCellLayoutcell- the cell renderer whose value is to be settreeModel- the modeliter- aGtkTreeIterindicating the row to set the value for
-
upcall
default void upcall(MemorySegment cellLayout, MemorySegment cell, MemorySegment treeModel, MemorySegment iter, MemorySegment data) Deprecated.Theupcallmethod is called from native code. The parameters are marshaled andrun(CellLayout, CellRenderer, TreeModel, TreeIter)is executed. -
toCallback
Deprecated.Creates a native function pointer to theupcall(MemorySegment, MemorySegment, MemorySegment, MemorySegment, MemorySegment)method.- Specified by:
toCallbackin interfaceFunctionPointer- Parameters:
arena- the arena in which the function pointer is allocated- Returns:
- the native function pointer
-