IconPaintable

open class IconPaintable(pointer: <Error class: unknown class><<Error class: unknown class>>) : SymbolicPaintable

Contains information found when looking up an icon in GtkIconTheme.

GtkIconPaintable implements GdkPaintable.

Skipped during bindings generation

  • method is-symbolic: Property has no getter nor setter

Constructors

Link copied to clipboard
constructor(file: <Error class: unknown class>, size: Int, scale: Int)

Creates a GtkIconPaintable for a file with a given size and scale.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val file: <Error class: unknown class>?

The file representing the icon, if any.

Link copied to clipboard
open override val gdkPaintablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkIconPaintablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkSymbolicPaintablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val iconName: String?

The icon name that was chosen during lookup.

Functions

Link copied to clipboard
open fun getFile(): <Error class: unknown class>?

Gets the GFile that was used to load the icon.

Link copied to clipboard
open fun getIconName(): String?

Get the icon name being used for this icon.

Link copied to clipboard
open fun isSymbolic(): Boolean

Checks if the icon is symbolic or not.