Variant

open class Variant(variantPointer: CPointer<GVariant>) : Comparable<Variant> , UnrefMe

kotlinx-gtk

23 / 03 / 2021

See also

Constructors

Variant
Link copied to clipboard
fun Variant(value: Boolean)
Variant
Link copied to clipboard
fun Variant(value: UByte)
Variant
Link copied to clipboard
fun Variant(value: Short)
Variant
Link copied to clipboard
fun Variant(value: UShort)
Variant
Link copied to clipboard
fun Variant(value: Int)
Variant
Link copied to clipboard
fun Variant(value: UInt)
Variant
Link copied to clipboard
fun Variant(value: Long)
Variant
Link copied to clipboard
fun Variant(value: ULong)
Variant
Link copied to clipboard
fun Variant(value: String)
Variant
Link copied to clipboard
fun Variant(variant: Variant)
Variant
Link copied to clipboard
fun Variant(strv: Array<String>)
Variant
Link copied to clipboard
fun Variant(variantPointer: CPointer<GVariant>)

Types

Companion
Link copied to clipboard
object Companion
VariantGetException
Link copied to clipboard
class VariantGetException(variantClass: VariantClass, thisIs: VariantClass) : NoSuchElementException

Functions

byteswap
Link copied to clipboard
fun byteswap(): Variant
checkFormatString
Link copied to clipboard
fun checkFormatString(formatString: String, copyOnly: Boolean): Boolean
compareTo
Link copied to clipboard
open operator override fun compareTo(other: Variant): Int
dupBytestring
Link copied to clipboard
fun dupBytestring(): String
dupBytestringArray
Link copied to clipboard
fun dupBytestringArray(): Array<String>
dupObjv
Link copied to clipboard
fun dupObjv(): Array<String>
dupString
Link copied to clipboard
fun dupString(): String
dupStrv
Link copied to clipboard
fun dupStrv(): Array<String>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getChildValue
Link copied to clipboard
fun getChildValue(index: ULong): Variant
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isOfType
Link copied to clipboard
fun isOfType(type: VariantType): Boolean
iterNew
Link copied to clipboard
fun iterNew(): VariantIter
lookupValue
Link copied to clipboard
fun lookupValue(key: String, expectedType: VariantType?): Variant?
print
Link copied to clipboard
fun print(typeAnnotate: Boolean): String
ref
Link copied to clipboard
fun ref(): Variant
refSink
Link copied to clipboard
fun refSink(): Variant
takeRef
Link copied to clipboard
fun takeRef(): Variant
unref
Link copied to clipboard
open override fun unref()

Properties

boolean
Link copied to clipboard
val boolean: Boolean
byte
Link copied to clipboard
val byte: UByte
byteStringArray
Link copied to clipboard
val byteStringArray: Array<String>
classified
Link copied to clipboard
val classified: VariantClass
dataAsBytes
Link copied to clipboard
val dataAsBytes: KGBytes
double
Link copied to clipboard
val double: Double
handle
Link copied to clipboard
val handle: Int
hash
Link copied to clipboard
val hash: UInt
int
Link copied to clipboard
val int: Int
isContainer
Link copied to clipboard
val isContainer: Boolean
isFloating
Link copied to clipboard
val isFloating: Boolean
isNormalForm
Link copied to clipboard
val isNormalForm: Boolean
long
Link copied to clipboard
val long: Long
maybe
Link copied to clipboard
val maybe: Variant?
nChildren
Link copied to clipboard
val nChildren: ULong
normalForm
Link copied to clipboard
val normalForm: Variant
objv
Link copied to clipboard
val objv: Array<String>
short
Link copied to clipboard
val short: Short
size
Link copied to clipboard
val size: ULong
string
Link copied to clipboard
val string: String
strv
Link copied to clipboard
val strv: Array<String>
type
Link copied to clipboard
val type: VariantType
typeString
Link copied to clipboard
val typeString: String
uInt
Link copied to clipboard
val uInt: UInt
uLong
Link copied to clipboard
val uLong: ULong
uShort
Link copied to clipboard
val uShort: UShort
variant
Link copied to clipboard
val variant: Variant
variantPointer
Link copied to clipboard
val variantPointer: CPointer<GVariant>