Package ch.bailu.gtk.gtk
Klasse BuilderScopeInterface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.BuilderScopeInterface
- Alle implementierten Schnittstellen:
PointerInterface
The virtual function table to implement for `GtkBuilderScope` implementations.
Default implementations for each function do exist, but they usually just fail,
so it is suggested that implementations implement all of them.
Default implementations for each function do exist, but they usually just fail,
so it is suggested that implementations implement all of them.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringCreate a closure with the given arguments.static final String
Private field: direct-typestatic final StringTry to lookup a `GType` via the given function name, specified
explicitly in a GtkBuilder file, like via the "type-func" attribute in the `<object>` tag.static final StringTry to lookup a `GType` via the its name. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerch.bailu.gtk.gtk.JnaBuilderScopeInterface.OnCreateClosureCreate a closure with the given arguments.ch.bailu.gtk.gtk.JnaBuilderScopeInterface.OnGetTypeFromFunctionTry to lookup a `GType` via the given function name, specified
explicitly in a GtkBuilder file, like via the "type-func" attribute in the `<object>` tag.ch.bailu.gtk.gtk.JnaBuilderScopeInterface.OnGetTypeFromNameTry to lookup a `GType` via the its name.static intstatic TypeSystem.TypeSizestatic TypeSystem.TypeSizevoidsetFieldCreateClosure(BuilderScopeInterface.OnCreateClosure create_closure) Create a closure with the given arguments.voidsetFieldGetTypeFromFunction(BuilderScopeInterface.OnGetTypeFromFunction get_type_from_function) Try to lookup a `GType` via the given function name, specified
explicitly in a GtkBuilder file, like via the "type-func" attribute in the `<object>` tag.voidsetFieldGetTypeFromName(BuilderScopeInterface.OnGetTypeFromName get_type_from_name) Try to lookup a `GType` via the its name.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
G_IFACE
Private field: direct-type- Siehe auch:
-
GET_TYPE_FROM_NAME
Try to lookup a `GType` via the its name. See
gtk_builder_get_type_from_name() for more details.
The C implementation will use g_type_from_name() and if that fails try to guess the
correct function name for registering the type and then use dlsym() to load it.
The default implementation just tries g_type_from_name() and otherwise fails.
SeeBuilderScopeInterface.OnGetTypeFromName.onGetTypeFromName(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str)- Siehe auch:
-
GET_TYPE_FROM_FUNCTION
Try to lookup a `GType` via the given function name, specified
explicitly in a GtkBuilder file, like via the "type-func" attribute in the `<object>` tag.
This function is very rarely used.
The C implementation will use dlsym() and call the resulting function as a `GTypeFunc`.
The default implementation will fail and just return %G_TYPE_INVALID.
SeeBuilderScopeInterface.OnGetTypeFromFunction.onGetTypeFromFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str)- Siehe auch:
-
CREATE_CLOSURE
Create a closure with the given arguments. See gtk_builder_create_closure()
for more details on those.
The C implementation will try to use dlsym() to locate the function name and then
g_cclosure_new() to create a closure for the symbol.
The default implementation just fails and returns %NULL.
SeeBuilderScopeInterface.OnCreateClosure.onCreateClosure(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str, int, ch.bailu.gtk.gobject.Object)- Siehe auch:
-
-
Konstruktordetails
-
BuilderScopeInterface
-
BuilderScopeInterface
public BuilderScopeInterface()
-
-
Methodendetails
-
getClassHandler
-
setFieldGetTypeFromName
Try to lookup a `GType` via the its name. See
gtk_builder_get_type_from_name() for more details.
The C implementation will use g_type_from_name() and if that fails try to guess the
correct function name for registering the type and then use dlsym() to load it.
The default implementation just tries g_type_from_name() and otherwise fails.
SeeBuilderScopeInterface.OnGetTypeFromName.onGetTypeFromName(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str) -
getFieldGetTypeFromName
public ch.bailu.gtk.gtk.JnaBuilderScopeInterface.OnGetTypeFromName getFieldGetTypeFromName()Try to lookup a `GType` via the its name. See
gtk_builder_get_type_from_name() for more details.
The C implementation will use g_type_from_name() and if that fails try to guess the
correct function name for registering the type and then use dlsym() to load it.
The default implementation just tries g_type_from_name() and otherwise fails.
SeeBuilderScopeInterface.OnGetTypeFromName.onGetTypeFromName(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str) -
setFieldGetTypeFromFunction
public void setFieldGetTypeFromFunction(BuilderScopeInterface.OnGetTypeFromFunction get_type_from_function) Try to lookup a `GType` via the given function name, specified
explicitly in a GtkBuilder file, like via the "type-func" attribute in the `<object>` tag.
This function is very rarely used.
The C implementation will use dlsym() and call the resulting function as a `GTypeFunc`.
The default implementation will fail and just return %G_TYPE_INVALID.
SeeBuilderScopeInterface.OnGetTypeFromFunction.onGetTypeFromFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str) -
getFieldGetTypeFromFunction
public ch.bailu.gtk.gtk.JnaBuilderScopeInterface.OnGetTypeFromFunction getFieldGetTypeFromFunction()Try to lookup a `GType` via the given function name, specified
explicitly in a GtkBuilder file, like via the "type-func" attribute in the `<object>` tag.
This function is very rarely used.
The C implementation will use dlsym() and call the resulting function as a `GTypeFunc`.
The default implementation will fail and just return %G_TYPE_INVALID.
SeeBuilderScopeInterface.OnGetTypeFromFunction.onGetTypeFromFunction(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str) -
setFieldCreateClosure
Create a closure with the given arguments. See gtk_builder_create_closure()
for more details on those.
The C implementation will try to use dlsym() to locate the function name and then
g_cclosure_new() to create a closure for the symbol.
The default implementation just fails and returns %NULL.
SeeBuilderScopeInterface.OnCreateClosure.onCreateClosure(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str, int, ch.bailu.gtk.gobject.Object) -
getFieldCreateClosure
public ch.bailu.gtk.gtk.JnaBuilderScopeInterface.OnCreateClosure getFieldCreateClosure()Create a closure with the given arguments. See gtk_builder_create_closure()
for more details on those.
The C implementation will try to use dlsym() to locate the function name and then
g_cclosure_new() to create a closure for the symbol.
The default implementation just fails and returns %NULL.
SeeBuilderScopeInterface.OnCreateClosure.onCreateClosure(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.BuilderScope, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str, int, ch.bailu.gtk.gobject.Object) -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-