Package org.gnome.gtk
Class ShortcutManager.ShortcutManagerInterface
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gtk.ShortcutManager.ShortcutManagerInterface
- All Implemented Interfaces:
Proxy
- Enclosing interface:
ShortcutManager
The list of functions that can be implemented for the
GtkShortcutManager
interface.
Note that no function is mandatory to implement, the default implementation will work fine.
-
Constructor Summary
ConstructorDescriptionAllocate a new ShortcutManagerInterface.ShortcutManagerInterface
(Arena arena) Allocate a new ShortcutManagerInterface.ShortcutManagerInterface
(MemorySegment address) Create a ShortcutManagerInterface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAddController
(Arena arena, Method method) Override virtual methodadd_controller
.void
overrideRemoveController
(Arena arena, Method method) Override virtual methodremove_controller
.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ShortcutManagerInterface
Create a ShortcutManagerInterface proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
ShortcutManagerInterface
Allocate a new ShortcutManagerInterface.- Parameters:
arena
- to control the memory allocation scope
-
ShortcutManagerInterface
public ShortcutManagerInterface()Allocate a new ShortcutManagerInterface. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideAddController
-
overrideRemoveController
-