Package org.gtk.gobject

Types

Binding
Link copied to clipboard
class Binding(pointer: CPointer<GBinding>)

kotlinx-gtk 03 / 06 / 2021

Closure
Link copied to clipboard
class Closure(closurePointer: CPointer<GClosure>)

kotlinx-gtk

InitiallyUnowned
Link copied to clipboard
open class InitiallyUnowned(initiallyUnownedPointer: CPointer<GInitiallyUnowned>) : KGObject

kotlinx-gtk

KGObject
Link copied to clipboard
open class KGObject(pointer: CPointer<GObject>) : UnrefMe, TypeInstance

kotlinx-gtk

KGType
Link copied to clipboard
enum KGType : Enum<KGType>
Parameter
Link copied to clipboard
class Parameter(pointer: CPointer<GParameter>)

kotlinx-gtk

ParamSpec
Link copied to clipboard
class ParamSpec(paramSpecPointer: GParamSpec_autoptr) : KGObject

25 / 12 / 2021

SignalManager
Link copied to clipboard
class SignalManager(pointer: VoidPointer, signalId: gulong)

Manages a signal connection

Signals
Link copied to clipboard
object Signals

kotlinx-gtk 08 / 02 / 2021

TypeClass
Link copied to clipboard
class TypeClass(typeClassPointer: GTypeClass_autoptr) : UnrefMe

30 / 11 / 2021

TypedNoArgForBooleanFunc
Link copied to clipboard
typealias TypedNoArgForBooleanFunc<T> = T.() -> Boolean
TypedNoArgFunc
Link copied to clipboard
typealias TypedNoArgFunc<T> = T.() -> Unit
TypeInstance
Link copied to clipboard
interface TypeInstance

30 / 11 / 2021

Value
Link copied to clipboard
class Value(pointer: CPointer<GValue>)
WrappedType
Link copied to clipboard
class WrappedType(gType: GType)

30 / 11 / 2021

Functions

addSignalCallback
Link copied to clipboard
inline fun <O> KGObject.addSignalCallback(signal: String, noinline action: () -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4, I5, I6, I7, I8, I9) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I, O> KGObject.addSignalCallback(signal: String, noinline action: (I) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, I5, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4, I5) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, I5, I6, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4, I5, I6) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, I5, I6, I7, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4, I5, I6, I7) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager
inline fun <I0, I1, I2, I3, I4, I5, I6, I7, I8, O> KGObject.addSignalCallback(signal: String, noinline action: (I0, I1, I2, I3, I4, I5, I6, I7, I8) -> O, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager

inline fun KGObject.addSignalCallback(signal: String, callbackWrapper: COpaquePointer?, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager

Convenience function merging connectSignal with SignalManager

connectSignal
Link copied to clipboard
fun VoidPointer.connectSignal(signal: String, callbackWrapper: COpaquePointer? = null, handler: GCallback = staticNoArgGCallback, flags: UInt): gulong
signalManager
Link copied to clipboard
inline fun <T : CPointed> signalManager(pointer: CPointer<T>, signal: String, callbackWrapper: COpaquePointer? = null, handler: GCallback = staticNoArgGCallback, flags: UInt): SignalManager

Convenience function merging connectSignal with SignalManager

typeCheckInstanceCast
Link copied to clipboard
fun <T : CPointed> typeCheckInstanceCast(instance: TypeInstance, gType: GType): CPointer<T>?

30 / 11 / 2021

typeCheckInstanceCastOrThrow
Link copied to clipboard
fun <T : CPointed> typeCheckInstanceCastOrThrow(instance: TypeInstance, gType: GType): CPointer<T>

Checks if an instance is of gType, otherwise throws TypeCastException

typeCheckInstanceIsA
Link copied to clipboard
fun typeCheckInstanceIsA(instance: TypeInstance, gType: GType): Boolean

30 / 11 / 2021

Properties

staticDestroyStableRefFunction
Link copied to clipboard
val staticDestroyStableRefFunction: GDestroyNotify

Most of the library uses a stable reference as the user data. This is just a generic destroy for it

staticNoArgGCallback
Link copied to clipboard
val staticNoArgGCallback: GCallback

GCallback that calls a function with only no arguments