Package org.gnome.adw
Interface TabBar.ExtraDragDropCallback
- 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
ExtraDragDropCallback callback.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThis signal is emitted when content is dropped onto a tab.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 content is dropped onto a tab.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::drop. -
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
-