Package ch.bailu.gtk.pango
Klasse ScriptIter
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.ScriptIter
- Alle implementierten Schnittstellen:
PointerInterface
A `PangoScriptIter` is used to iterate through a string
and identify ranges in different scripts.
and identify ranges in different scripts.
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungScriptIter(PointerContainer pointer) ScriptIter(Str text, int length) Create a new `PangoScriptIter`, used to break a string of
Unicode text into runs by Unicode script.ScriptIter(String text, int length) Create a new `PangoScriptIter`, used to break a string of
Unicode text into runs by Unicode script. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidfree()Frees a `PangoScriptIter`.static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizevoidGets information about the range to which @iter currently points.static longstatic TypeSystem.TypeSizebooleannext()Advances a `PangoScriptIter` to the next range.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
-
Konstruktordetails
-
ScriptIter
-
ScriptIter
Create a new `PangoScriptIter`, used to break a string of
Unicode text into runs by Unicode script.
No copy is made of @text, so the caller needs to make
sure it remains valid until the iterator is freed with
[method@Pango.ScriptIter.free].- Parameter:
text- a UTF-8 stringlength- length of @text, or -1 if @text is nul-terminated
-
ScriptIter
Create a new `PangoScriptIter`, used to break a string of
Unicode text into runs by Unicode script.
No copy is made of @text, so the caller needs to make
sure it remains valid until the iterator is freed with
[method@Pango.ScriptIter.free].- Parameter:
text- a UTF-8 stringlength- length of @text, or -1 if @text is nul-terminated
-
-
Methodendetails
-
getClassHandler
-
free
public void free()Frees a `PangoScriptIter`. -
getRange
Gets information about the range to which @iter currently points.
The range is the set of locations p where *start <= p < *end.
(That is, it doesn't include the character stored at *end)
Note that while the type of the @script argument is declared
as `PangoScript`, as of Pango 1.18, this function simply returns
`GUnicodeScript` values. Callers must be prepared to handle unknown
values.- Parameter:
start- location to store start position of the rangeend- location to store end position of the rangescript- location to store script for range
-
next
public boolean next()Advances a `PangoScriptIter` to the next range.
If @iter is already at the end, it is left unchanged
and %FALSE is returned.- Gibt zurück:
- %TRUE if @iter was successfully advanced
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-