Package ch.bailu.gtk.gdk
Klasse ContentFormatsBuilder
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gdk.ContentFormatsBuilder
- Alle implementierten Schnittstellen:
PointerInterface
Creates `GdkContentFormats` objects.
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreate a new `GdkContentFormatsBuilder` object.ContentFormatsBuilder
(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addFormats
(ContentFormats formats) Appends all formats from @formats to @builder, skipping those that
already exist.void
addGtype
(long type) Appends @type to @builder if it has not already been added.void
addMimeType
(Str mime_type) Appends @mime_type to @builder if it has not already been added.void
addMimeType
(String mime_type) Appends @mime_type to @builder if it has not already been added.Creates a new `GdkContentFormats` from the current state of the
given @builder, and frees the @builder instance.static ClassHandler
static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
ref()
Acquires a reference on the given @builder.Creates a new `GdkContentFormats` from the given @builder.void
unref()
Releases a reference on the given @builder.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Methodendetails
-
getClassHandler
-
addFormats
Appends all formats from @formats to @builder, skipping those that
already exist.- Parameter:
formats
- the formats to add
-
addGtype
public void addGtype(long type) Appends @type to @builder if it has not already been added.- Parameter:
type
- a `GType`
-
addMimeType
Appends @mime_type to @builder if it has not already been added.- Parameter:
mime_type
- a mime type
-
addMimeType
Appends @mime_type to @builder if it has not already been added.- Parameter:
mime_type
- a mime type
-
freeToFormats
Creates a new `GdkContentFormats` from the current state of the
given @builder, and frees the @builder instance.- Gibt zurück:
- the newly created `GdkContentFormats` with all the formats added to @builder
-
ref
Acquires a reference on the given @builder.
This function is intended primarily for bindings.
`GdkContentFormatsBuilder` objects should not be kept around.- Gibt zurück:
- the given `GdkContentFormatsBuilder` with its reference count increased
-
toFormats
Creates a new `GdkContentFormats` from the given @builder.
The given `GdkContentFormatsBuilder` is reset once this function returns;
you cannot call this function multiple times on the same @builder instance.
This function is intended primarily for bindings. C code should use
[method@Gdk.ContentFormatsBuilder.free_to_formats].- Gibt zurück:
- the newly created `GdkContentFormats` with all the formats added to @builder
-
unref
public void unref()Releases a reference on the given @builder. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-