Package ch.bailu.gtk.pango
Class AttrLanguage
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.AttrLanguage
- All Implemented Interfaces:
PointerInterface
The `PangoAttrLanguage` structure is used to represent attributes that
are languages.
are languages.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Attribute
Create a new language tag attribute.static ClassHandler
the `PangoLanguage` which is the value of the attributevoid
setFieldValue
(Language value) the `PangoLanguage` which is the value of the attributeMethods 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
-
ATTR
the common portion of the attribute
Private field: direct-type- See Also:
-
VALUE
the `PangoLanguage` which is the value of the attribute- See Also:
-
-
Constructor Details
-
AttrLanguage
-
AttrLanguage
public AttrLanguage()
-
-
Method Details
-
getClassHandler
-
setFieldValue
the `PangoLanguage` which is the value of the attribute -
getFieldValue
the `PangoLanguage` which is the value of the attribute -
_new
Create a new language tag attribute.- Parameters:
language
- language tag- Returns:
- the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]
-