Texture

class Texture(texturePointer: CPointer<GdkTexture>) : KGObject, Paintable

gtk-kt

10 / 09 / 2021

See also

Constructors

Texture
Link copied to clipboard
fun Texture(pixbuf: Pixbuf)
Texture
Link copied to clipboard
fun Texture(file: File)
Texture
Link copied to clipboard
fun Texture(resourcePath: String)
Texture
Link copied to clipboard
fun Texture(texturePointer: CPointer<GdkTexture>)

Types

Companion
Link copied to clipboard
object Companion

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
saveToPng
Link copied to clipboard
fun saveToPng(filename: String): Boolean
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
height
Link copied to clipboard
val height: Int
paintablePointer
Link copied to clipboard
open override val paintablePointer: CPointer<GdkPaintable>
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
texturePointer
Link copied to clipboard
val texturePointer: CPointer<GdkTexture>
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>
width
Link copied to clipboard
val width: Int