Encoding

class Encoding(pointer: <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.

Skipped during bindings generation

  • method to_string: C function gtk_source_encoding_to_string is ignored

Constructors

Link copied to clipboard
constructor(pointer: <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".