SimpleAction

class SimpleAction(simpleActionPointer: GSimpleAction_autoptr) : KGObject, Action

kotlinx-gtk

23 / 03 / 2021

See also

Constructors

SimpleAction
Link copied to clipboard
fun SimpleAction(name: String, parameterType: VariantType? = null)
SimpleAction
Link copied to clipboard
fun SimpleAction(name: String, state: Variant, parameterType: VariantType? = null)
SimpleAction
Link copied to clipboard
fun SimpleAction(simpleActionPointer: GSimpleAction_autoptr)

Types

Companion
Link copied to clipboard
object Companion

Functions

activate
Link copied to clipboard
open fun activate(parameter: Variant?)
addOnActivateCallback
Link copied to clipboard
fun addOnActivateCallback(action: (parameter: Variant?) -> Unit): SignalManager
addOnChangeStateCallback
Link copied to clipboard
fun addOnChangeStateCallback(action: (value: Variant?) -> Unit): SignalManager
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
changeState
Link copied to clipboard
open fun changeState(value: Variant)
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)
setEnabled
Link copied to clipboard
fun setEnabled(enabled: Boolean)
setState
Link copied to clipboard
fun setState(value: Variant)
setStateHint
Link copied to clipboard
fun setStateHint(stateHint: Variant)
unref
Link copied to clipboard
open override fun unref()

Properties

actionPointer
Link copied to clipboard
open override val actionPointer: CPointer<GAction>
enabled
Link copied to clipboard
open val enabled: Boolean
gClass
Link copied to clipboard
open val gClass: TypeClass
name
Link copied to clipboard
open val name: String
parameterType
Link copied to clipboard
open val parameterType: VariantType?
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
simpleActionPointer
Link copied to clipboard
val simpleActionPointer: GSimpleAction_autoptr
state
Link copied to clipboard
open val state: Variant?
stateHint
Link copied to clipboard
open val stateHint: Variant?
stateType
Link copied to clipboard
open val stateType: VariantType?
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>