FrameClock

class FrameClock(frameClockPointer: CPointer<GdkFrameClock>) : KGObject

kotlinx-gtk 16 / 04 / 2021

GdkFrameClock

Constructors

FrameClock
Link copied to clipboard
fun FrameClock(frameClockPointer: CPointer<GdkFrameClock>)

Types

Companion
Link copied to clipboard
object Companion
Phase
Link copied to clipboard
enum Phase : Enum<FrameClock.Phase>
RefreshInfo
Link copied to clipboard
data class RefreshInfo(refreshInterval: Long, presentationTimeReturn: Long)

Data class for the return of getRefreshInfo

Functions

addOnAfterPaintCallback
Link copied to clipboard
fun addOnAfterPaintCallback(action: () -> Unit): SignalManager
addOnBeforePaintCallback
Link copied to clipboard
fun addOnBeforePaintCallback(action: () -> Unit): SignalManager
addOnFlushEventsCallback
Link copied to clipboard
fun addOnFlushEventsCallback(action: () -> Unit): SignalManager
addOnLayoutCallback
Link copied to clipboard
fun addOnLayoutCallback(action: () -> Unit): SignalManager
addOnPaintCallback
Link copied to clipboard
fun addOnPaintCallback(action: () -> Unit): SignalManager
addOnResumeEventsCallback
Link copied to clipboard
fun addOnResumeEventsCallback(action: () -> Unit): SignalManager
addOnUpdateCallback
Link copied to clipboard
fun addOnUpdateCallback(action: () -> Unit): SignalManager
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
beginUpdating
Link copied to clipboard
fun beginUpdating()
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
endUpdating
Link copied to clipboard
fun endUpdating()
getRefreshInfo
Link copied to clipboard
getString
Link copied to clipboard
fun getString(propertyName: String): String
getTimings
Link copied to clipboard
fun getTimings(frameCounter: Long): FrameTimings?
ref
Link copied to clipboard
open fun ref(): KGObject
requestPhase
Link copied to clipboard
fun requestPhase(phase: FrameClock.Phase)
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

currentTimings
Link copied to clipboard
frameClockPointer
Link copied to clipboard
val frameClockPointer: CPointer<GdkFrameClock>
frameCounter
Link copied to clipboard
val frameCounter: Long
frameTime
Link copied to clipboard
val frameTime: Long
gClass
Link copied to clipboard
open val gClass: TypeClass
historyStart
Link copied to clipboard
val historyStart: Long
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>