Package ch.bailu.gtk.gtk
Klasse BuildableIface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.BuildableIface
- Alle implementierten Schnittstellen:
PointerInterface
Contains methods to let `GtkBuilder` construct an object from
a `GtkBuilder` UI definition.
a `GtkBuilder` UI definition.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringAdds a child.static final StringConstructs a child of a buildable that has been
specified as “constructor” in the UI definition.static final Stringthe parent class
Private field: direct-typestatic final StringThe getter corresponding to @set_id.static final StringSets a property of a buildable object.static final StringStores the id attribute given in the `GtkBuilder` UI definition. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerch.bailu.gtk.gtk.JnaBuildableIface.OnAddChildAdds a child.ch.bailu.gtk.gtk.JnaBuildableIface.OnConstructChildConstructs a child of a buildable that has been
specified as “constructor” in the UI definition.ch.bailu.gtk.gtk.JnaBuildableIface.OnGetIdThe getter corresponding to @set_id.ch.bailu.gtk.gtk.JnaBuildableIface.OnSetBuildablePropertySets a property of a buildable object.ch.bailu.gtk.gtk.JnaBuildableIface.OnSetIdStores the id attribute given in the `GtkBuilder` UI definition.static intstatic TypeSystem.TypeSizestatic TypeSystem.TypeSizevoidsetFieldAddChild(BuildableIface.OnAddChild add_child) Adds a child.voidsetFieldConstructChild(BuildableIface.OnConstructChild construct_child) Constructs a child of a buildable that has been
specified as “constructor” in the UI definition.voidsetFieldGetId(BuildableIface.OnGetId get_id) The getter corresponding to @set_id.voidsetFieldSetBuildableProperty(BuildableIface.OnSetBuildableProperty set_buildable_property) Sets a property of a buildable object.voidsetFieldSetId(BuildableIface.OnSetId set_id) Stores the id attribute given in the `GtkBuilder` UI definition.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
the parent class
Private field: direct-type- Siehe auch:
-
SET_ID
Stores the id attribute given in the `GtkBuilder` UI definition.
`GtkWidget` stores the name as object data. Implement this method if your
object has some notion of “ID” and it makes sense to map the XML id
attribute to it.
SeeBuildableIface.OnSetId.onSetId(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.type.Str)- Siehe auch:
-
GET_ID
The getter corresponding to @set_id. Implement this
if you implement @set_id.
SeeBuildableIface.OnGetId.onGetId(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable)- Siehe auch:
-
ADD_CHILD
Adds a child. The @type parameter can be used to
differentiate the kind of child. `GtkWidget` implements this
to add event controllers to the widget, `GtkNotebook` uses
the @type to distinguish between page labels (of type "page-label")
and normal children.
SeeBuildableIface.OnAddChild.onAddChild(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.gobject.Object, ch.bailu.gtk.type.Str)- Siehe auch:
-
SET_BUILDABLE_PROPERTY
Sets a property of a buildable object.
It is normally not necessary to implement this, g_object_set_property()
is used by default. `GtkWindow` implements this to delay showing itself
(i.e. setting the [property@Gtk.Widget:visible] property) until the whole
interface is created.
SeeBuildableIface.OnSetBuildableProperty.onSetBuildableProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str, ch.bailu.gtk.gobject.Value)- Siehe auch:
-
CONSTRUCT_CHILD
Constructs a child of a buildable that has been
specified as “constructor” in the UI definition. This can be used to
reference a widget created in a `<ui>` tag which is outside
of the normal GtkBuilder UI definition hierarchy. A reference to the
constructed object is returned and becomes owned by the caller.
SeeBuildableIface.OnConstructChild.onConstructChild(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str)- Siehe auch:
-
-
Konstruktordetails
-
BuildableIface
-
-
Methodendetails
-
getClassHandler
-
setFieldSetId
Stores the id attribute given in the `GtkBuilder` UI definition.
`GtkWidget` stores the name as object data. Implement this method if your
object has some notion of “ID” and it makes sense to map the XML id
attribute to it.
SeeBuildableIface.OnSetId.onSetId(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.type.Str) -
getFieldSetId
public ch.bailu.gtk.gtk.JnaBuildableIface.OnSetId getFieldSetId()Stores the id attribute given in the `GtkBuilder` UI definition.
`GtkWidget` stores the name as object data. Implement this method if your
object has some notion of “ID” and it makes sense to map the XML id
attribute to it.
SeeBuildableIface.OnSetId.onSetId(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.type.Str) -
setFieldGetId
The getter corresponding to @set_id. Implement this
if you implement @set_id.
SeeBuildableIface.OnGetId.onGetId(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable) -
getFieldGetId
public ch.bailu.gtk.gtk.JnaBuildableIface.OnGetId getFieldGetId()The getter corresponding to @set_id. Implement this
if you implement @set_id.
SeeBuildableIface.OnGetId.onGetId(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable) -
setFieldAddChild
Adds a child. The @type parameter can be used to
differentiate the kind of child. `GtkWidget` implements this
to add event controllers to the widget, `GtkNotebook` uses
the @type to distinguish between page labels (of type "page-label")
and normal children.
SeeBuildableIface.OnAddChild.onAddChild(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.gobject.Object, ch.bailu.gtk.type.Str) -
getFieldAddChild
public ch.bailu.gtk.gtk.JnaBuildableIface.OnAddChild getFieldAddChild()Adds a child. The @type parameter can be used to
differentiate the kind of child. `GtkWidget` implements this
to add event controllers to the widget, `GtkNotebook` uses
the @type to distinguish between page labels (of type "page-label")
and normal children.
SeeBuildableIface.OnAddChild.onAddChild(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.gobject.Object, ch.bailu.gtk.type.Str) -
setFieldSetBuildableProperty
public void setFieldSetBuildableProperty(BuildableIface.OnSetBuildableProperty set_buildable_property) Sets a property of a buildable object.
It is normally not necessary to implement this, g_object_set_property()
is used by default. `GtkWindow` implements this to delay showing itself
(i.e. setting the [property@Gtk.Widget:visible] property) until the whole
interface is created.
SeeBuildableIface.OnSetBuildableProperty.onSetBuildableProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str, ch.bailu.gtk.gobject.Value) -
getFieldSetBuildableProperty
public ch.bailu.gtk.gtk.JnaBuildableIface.OnSetBuildableProperty getFieldSetBuildableProperty()Sets a property of a buildable object.
It is normally not necessary to implement this, g_object_set_property()
is used by default. `GtkWindow` implements this to delay showing itself
(i.e. setting the [property@Gtk.Widget:visible] property) until the whole
interface is created.
SeeBuildableIface.OnSetBuildableProperty.onSetBuildableProperty(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str, ch.bailu.gtk.gobject.Value) -
setFieldConstructChild
Constructs a child of a buildable that has been
specified as “constructor” in the UI definition. This can be used to
reference a widget created in a `<ui>` tag which is outside
of the normal GtkBuilder UI definition hierarchy. A reference to the
constructed object is returned and becomes owned by the caller.
SeeBuildableIface.OnConstructChild.onConstructChild(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str) -
getFieldConstructChild
public ch.bailu.gtk.gtk.JnaBuildableIface.OnConstructChild getFieldConstructChild()Constructs a child of a buildable that has been
specified as “constructor” in the UI definition. This can be used to
reference a widget created in a `<ui>` tag which is outside
of the normal GtkBuilder UI definition hierarchy. A reference to the
constructed object is returned and becomes owned by the caller.
SeeBuildableIface.OnConstructChild.onConstructChild(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gtk.Buildable, ch.bailu.gtk.gtk.Builder, ch.bailu.gtk.type.Str) -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-