Package org.gnome.adw
Interface TabBar.ExtraDragValueCallback
- All Superinterfaces:
FunctionPointer
- Enclosing class:
TabBar
- 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
ExtraDragValueCallback callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThis signal is emitted when the dropped content is preloaded.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 intupcall(MemorySegment sourceTabBar, MemorySegment page, MemorySegment value) Theupcallmethod is called from native code.
-
Method Details
-
run
This signal is emitted when the dropped content is preloaded.In order for data to be preloaded,
TabBar:extra-drag-preloadmust be set toTRUE.The content must be of one of the types set up via
TabBar.setupExtraDropTarget(java.util.Set<org.gnome.gdk.DragAction>, org.gnome.glib.Type[]).See
Gtk.DropTarget:value.- Since:
- 1.3
-
upcall
Theupcallmethod is called from native code. The parameters are marshaled andrun(org.gnome.adw.TabPage, org.gnome.gobject.Value)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
-