Display

class Display(displayPointer: CPointer<GdkDisplay>) : KGObject, Closeable

See also

Constructors

Display
Link copied to clipboard
fun Display(displayPointer: CPointer<GdkDisplay>)

Types

Companion
Link copied to clipboard
object Companion
MappedKeycodeValues
Link copied to clipboard
data class MappedKeycodeValues(array: List<KeymapKey>, keyvals: List<UInt>)
TranslatedKey
Link copied to clipboard
data class TranslatedKey(keyval: UInt, effectiveGroup: Int, level: Int, consumed: GdkModifierType)

Functions

addOnClosedCallback
Link copied to clipboard
fun addOnClosedCallback(action: (isError: @ParameterName(name = "isError") Boolean) -> Unit): SignalManager
addOnOpenedCallback
Link copied to clipboard
fun addOnOpenedCallback(action: () -> Unit): SignalManager
addOnSeatAddedCallback
Link copied to clipboard
fun addOnSeatAddedCallback(action: (Seat) -> Unit): SignalManager
addOnSeatRemovedCallback
Link copied to clipboard
fun addOnSeatRemovedCallback(action: (Seat) -> Unit): SignalManager
addOnSettingChangedCallback
Link copied to clipboard
fun addOnSettingChangedCallback(action: (setting: @ParameterName(name = "setting") String) -> Unit): SignalManager
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
beep
Link copied to clipboard
fun beep()
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
close
Link copied to clipboard
open override fun close()
flush
Link copied to clipboard
fun flush()
getMonitorAtSurface
Link copied to clipboard
fun getMonitorAtSurface(surface: Surface): Monitor
getSetting
Link copied to clipboard
fun getSetting(name: String): Value?
getString
Link copied to clipboard
fun getString(propertyName: String): String
isDeviceGrabbed
Link copied to clipboard
fun isDeviceGrabbed(device: Device): Boolean
mapKeycode
Link copied to clipboard
fun mapKeycode(keycode: UInt): Display.MappedKeycodeValues?
mapKeyval
Link copied to clipboard
fun mapKeyval(keyval: UInt): List<KeymapKey>
notifyStartupComplete
Link copied to clipboard
fun notifyStartupComplete(startupId: String)
putEvent
Link copied to clipboard
fun putEvent(event: Event)
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)
sync
Link copied to clipboard
fun sync()
translateKey
Link copied to clipboard
fun translateKey(keycode: UInt, modifierType: GdkModifierType, group: Int): Display.TranslatedKey?
unref
Link copied to clipboard
open override fun unref()

Properties

appLaunchContext
Link copied to clipboard
val appLaunchContext: AppLaunchContext
clipboard
Link copied to clipboard
val clipboard: Clipboard
defaultSeat
Link copied to clipboard
val defaultSeat: Seat
displayPointer
Link copied to clipboard
val displayPointer: CPointer<GdkDisplay>
gClass
Link copied to clipboard
open val gClass: TypeClass
isClosed
Link copied to clipboard
val isClosed: Boolean
isComposited
Link copied to clipboard
val isComposited: Boolean
isRGBA
Link copied to clipboard
val isRGBA: Boolean
monitors
Link copied to clipboard
val monitors: ListModel
name
Link copied to clipboard
val name: String
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
primaryClipboard
Link copied to clipboard
val primaryClipboard: Clipboard
seats
Link copied to clipboard
val seats: Sequence<Seat>
startupNotificationId
Link copied to clipboard
val startupNotificationId: String?
supportsInputShapes
Link copied to clipboard
val supportsInputShapes: Boolean
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>