Package ch.bailu.gtk.gobject
Class TypePluginClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.TypePluginClass
- All Implemented Interfaces:
PointerInterface
The #GTypePlugin interface is used by the type system in order to handle
the lifecycle of dynamically loaded types.
the lifecycle of dynamically loaded types.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Private field: direct-typestatic final String
Fills in missing parts of the #GInterfaceInfo
for the interface.static final String
Fills in the #GTypeInfo and
#GTypeValueTable structs for the type.static final String
Decreases the use count of the plugin.static final String
Increases the use count of the plugin. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginCompleteInterfaceInfo
Fills in missing parts of the #GInterfaceInfo
for the interface.ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginCompleteTypeInfo
Fills in the #GTypeInfo and
#GTypeValueTable structs for the type.ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginUnuse
Decreases the use count of the plugin.ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginUse
Increases the use count of the plugin.void
setFieldCompleteInterfaceInfo
(TypePluginClass.OnTypePluginCompleteInterfaceInfo complete_interface_info) Fills in missing parts of the #GInterfaceInfo
for the interface.void
setFieldCompleteTypeInfo
(TypePluginClass.OnTypePluginCompleteTypeInfo complete_type_info) Fills in the #GTypeInfo and
#GTypeValueTable structs for the type.void
setFieldUnusePlugin
(TypePluginClass.OnTypePluginUnuse unuse_plugin) Decreases the use count of the plugin.void
setFieldUsePlugin
(TypePluginClass.OnTypePluginUse use_plugin) Increases the use count of the plugin.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
BASE_IFACE
Private field: direct-type- See Also:
-
USE_PLUGIN
Increases the use count of the plugin.
SeeTypePluginClass.OnTypePluginUse.onTypePluginUse(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin)
- See Also:
-
UNUSE_PLUGIN
Decreases the use count of the plugin.
SeeTypePluginClass.OnTypePluginUnuse.onTypePluginUnuse(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin)
- See Also:
-
COMPLETE_TYPE_INFO
Fills in the #GTypeInfo and
#GTypeValueTable structs for the type. The structs are initialized
with `memset(s, 0, sizeof (s))` before calling this function.
SeeTypePluginClass.OnTypePluginCompleteTypeInfo.onTypePluginCompleteTypeInfo(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin, long, ch.bailu.gtk.gobject.TypeInfo, ch.bailu.gtk.gobject.TypeValueTable)
- See Also:
-
COMPLETE_INTERFACE_INFO
Fills in missing parts of the #GInterfaceInfo
for the interface. The structs is initialized with
`memset(s, 0, sizeof (s))` before calling this function.
SeeTypePluginClass.OnTypePluginCompleteInterfaceInfo.onTypePluginCompleteInterfaceInfo(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin, long, long, ch.bailu.gtk.gobject.InterfaceInfo)
- See Also:
-
-
Constructor Details
-
TypePluginClass
-
TypePluginClass
public TypePluginClass()
-
-
Method Details
-
getClassHandler
-
setFieldUsePlugin
Increases the use count of the plugin.
SeeTypePluginClass.OnTypePluginUse.onTypePluginUse(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin)
-
getFieldUsePlugin
public ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginUse getFieldUsePlugin()Increases the use count of the plugin.
SeeTypePluginClass.OnTypePluginUse.onTypePluginUse(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin)
-
setFieldUnusePlugin
Decreases the use count of the plugin.
SeeTypePluginClass.OnTypePluginUnuse.onTypePluginUnuse(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin)
-
getFieldUnusePlugin
public ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginUnuse getFieldUnusePlugin()Decreases the use count of the plugin.
SeeTypePluginClass.OnTypePluginUnuse.onTypePluginUnuse(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin)
-
setFieldCompleteTypeInfo
public void setFieldCompleteTypeInfo(TypePluginClass.OnTypePluginCompleteTypeInfo complete_type_info) Fills in the #GTypeInfo and
#GTypeValueTable structs for the type. The structs are initialized
with `memset(s, 0, sizeof (s))` before calling this function.
SeeTypePluginClass.OnTypePluginCompleteTypeInfo.onTypePluginCompleteTypeInfo(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin, long, ch.bailu.gtk.gobject.TypeInfo, ch.bailu.gtk.gobject.TypeValueTable)
-
getFieldCompleteTypeInfo
public ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginCompleteTypeInfo getFieldCompleteTypeInfo()Fills in the #GTypeInfo and
#GTypeValueTable structs for the type. The structs are initialized
with `memset(s, 0, sizeof (s))` before calling this function.
SeeTypePluginClass.OnTypePluginCompleteTypeInfo.onTypePluginCompleteTypeInfo(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin, long, ch.bailu.gtk.gobject.TypeInfo, ch.bailu.gtk.gobject.TypeValueTable)
-
setFieldCompleteInterfaceInfo
public void setFieldCompleteInterfaceInfo(TypePluginClass.OnTypePluginCompleteInterfaceInfo complete_interface_info) Fills in missing parts of the #GInterfaceInfo
for the interface. The structs is initialized with
`memset(s, 0, sizeof (s))` before calling this function.
SeeTypePluginClass.OnTypePluginCompleteInterfaceInfo.onTypePluginCompleteInterfaceInfo(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin, long, long, ch.bailu.gtk.gobject.InterfaceInfo)
-
getFieldCompleteInterfaceInfo
public ch.bailu.gtk.gobject.JnaTypePluginClass.OnTypePluginCompleteInterfaceInfo getFieldCompleteInterfaceInfo()Fills in missing parts of the #GInterfaceInfo
for the interface. The structs is initialized with
`memset(s, 0, sizeof (s))` before calling this function.
SeeTypePluginClass.OnTypePluginCompleteInterfaceInfo.onTypePluginCompleteInterfaceInfo(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypePlugin, long, long, ch.bailu.gtk.gobject.InterfaceInfo)
-