Package ch.bailu.gtk.gtk
Class TreeIter
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.TreeIter
- All Implemented Interfaces:
PointerInterface
The `GtkTreeIter` is the primary structure
for accessing a `GtkTreeModel`. Models are expected to put a unique
integer in the @stamp member, and put
model-specific data in the three @user_data
members.
for accessing a `GtkTreeModel`. Models are expected to put a unique
integer in the @stamp member, and put
model-specific data in the three @user_data
members.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Creates a dynamically allocated tree iterator as a copy of @iter.void
free()
Frees an iterator that has been allocated by gtk_tree_iter_copy().static ClassHandler
int
a unique stamp to catch invalid iteratorsmodel-specific datamodel-specific datamodel-specific datastatic int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
void
setFieldStamp
(int stamp) a unique stamp to catch invalid iteratorsvoid
setFieldUserData
(Pointer user_data) model-specific datavoid
setFieldUserData2
(Pointer user_data2) model-specific datavoid
setFieldUserData3
(Pointer user_data3) model-specific dataMethods 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
-
STAMP
a unique stamp to catch invalid iterators- See Also:
-
USER_DATA
model-specific data- See Also:
-
USER_DATA2
model-specific data- See Also:
-
USER_DATA3
model-specific data- See Also:
-
-
Constructor Details
-
TreeIter
-
TreeIter
public TreeIter()
-
-
Method Details
-
getClassHandler
-
setFieldStamp
public void setFieldStamp(int stamp) a unique stamp to catch invalid iterators -
getFieldStamp
public int getFieldStamp()a unique stamp to catch invalid iterators -
setFieldUserData
model-specific data -
getFieldUserData
model-specific data -
setFieldUserData2
model-specific data -
getFieldUserData2
model-specific data -
setFieldUserData3
model-specific data -
getFieldUserData3
model-specific data -
copy
Creates a dynamically allocated tree iterator as a copy of @iter.
This function is not intended for use in applications,
because you can just copy the structs by value
(`GtkTreeIter new_iter = iter;`).
You must free this iter with gtk_tree_iter_free().- Returns:
- a newly-allocated copy of @iter
-
free
public void free()Frees an iterator that has been allocated by gtk_tree_iter_copy().
This function is mainly used for language bindings. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-