Tuples

class Tuples(val glibTuplesPointer: <Error class: unknown class><<Error class: unknown class>>) : ProxyInstance(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.26.

Rarely used API

---

The #GTuples struct is used to return records (or tuples) from the #GRelation by g_relation_select(). It only contains one public member - the number of records that matched. To access the matched records, you must use g_tuples_index().

Constructors

Link copied to clipboard
constructor()

Allocate a new Tuples.

constructor(scope: <Error class: unknown class>)

Allocate a new Tuples using the provided AutofreeScope.

constructor(len: <Error class: unknown class>)

Allocate a new Tuples.

constructor(len: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new Tuples using the provided AutofreeScope.

constructor(glibTuplesPointer: <Error class: unknown class><<Error class: unknown class>>)

Properties

Link copied to clipboard
val glibTuplesPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val handle: <Error class: unknown class>
Link copied to clipboard
var len: <Error class: unknown class>

the number of records that matched.

Functions

Link copied to clipboard
open override fun addCleaner(cleaner: <Error class: unknown class>): Boolean

Registers a cleaner to be executed when this proxy object is garbage collected.

Link copied to clipboard
fun destroy()

This is deprecated since version 2.26.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.

Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun index(index: <Error class: unknown class>, field: <Error class: unknown class>): <Error class: unknown class>?

This is deprecated since version 2.26.

Link copied to clipboard
open override fun removeCleaner(cleaner: <Error class: unknown class>): Boolean

Removes a previously registered cleaner from this proxy object.

Link copied to clipboard
open override fun toString(): String