Encoding

class Encoding(val gtksourceEncodingPointer: <Error class: unknown class><<Error class: unknown class>>)

Character encoding.

The #GtkSourceEncoding boxed type represents a character encoding. It is used for example by #GtkSourceFile. Note that the text in GTK widgets is always encoded in UTF-8.

Constructors

Link copied to clipboard
constructor(gtksourceEncodingPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard
fun copy(): Encoding

Used by language bindings.

Link copied to clipboard
fun free()

Used by language bindings.

Link copied to clipboard

Gets the character set of the #GtkSourceEncoding, such as "UTF-8" or "ISO-8859-1".

Link copied to clipboard

Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".

Link copied to clipboard
open override fun toString(): String