KGObject

open class KGObject(pointer: CPointer<GObject>) : UnrefMe, TypeInstance

kotlinx-gtk

08 / 03 / 2021

See also

Constructors

KGObject
Link copied to clipboard
fun KGObject(type: KGType, vararg args: Parameter)
KGObject
Link copied to clipboard
fun KGObject(pointer: CPointer<GObject>)

Types

Companion
Link copied to clipboard
object Companion
Property
Link copied to clipboard
annotation class Property

Functions

addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
getString
Link copied to clipboard
fun getString(propertyName: String): String
ref
Link copied to clipboard
open fun ref(): KGObject
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
unref
Link copied to clipboard
open override fun unref()

Properties

gClass
Link copied to clipboard
open val gClass: TypeClass
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>

Inheritors

InitiallyUnowned
Link copied to clipboard
ParamSpec
Link copied to clipboard

Extensions

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

Convenience function merging connectSignal with SignalManager

inline fun <O> KGObject.addSignalCallback(signal: String, noinline action: () -> 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 <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