ImageType

Describes the image data representation used by a class@Gtk.Image.

If you want to get the image from the widget, you can only get the currently-stored representation; for instance, if the gtk_image_get_storage_type() returns %GTK_IMAGE_PAINTABLE, then you can call gtk_image_get_paintable().

For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.

Entries

Link copied to clipboard

there is no image displayed by the widget

Link copied to clipboard

the widget contains a named icon

Link copied to clipboard

the widget contains a GIcon

Link copied to clipboard

the widget contains a GdkPaintable

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): ImageType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.