Notification

class Notification(notificationPointer: CPointer<GNotification>) : KGObject

kotlinx-gtk 14 / 04 / 2021

Constructors

Notification
Link copied to clipboard
fun Notification(title: String)
Notification
Link copied to clipboard
fun Notification(notificationPointer: CPointer<GNotification>)

Types

Priority
Link copied to clipboard
enum Priority : Enum<Notification.Priority>

Functions

addButton
Link copied to clipboard
fun addButton(label: String, detailedAction: String)
addButtonWithTargetValue
Link copied to clipboard
fun addButtonWithTargetValue(label: String, action: String, target: Variant)
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)
setBody
Link copied to clipboard
fun setBody(title: String)
setDefaultAction
Link copied to clipboard
fun setDefaultAction(detailedAction: String)
setDefaultActionAndTargetValue
Link copied to clipboard
fun setDefaultActionAndTargetValue(action: String, target: Variant)
setIcon
Link copied to clipboard
fun setIcon(icon: Icon)
setPriority
Link copied to clipboard
fun setPriority(priority: Notification.Priority)
setTitle
Link copied to clipboard
fun setTitle(title: String)
unref
Link copied to clipboard
open override fun unref()

Properties

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