Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: object
GCharsetConverter is an implementation of [iface@Gio.Converter] based on
[struct@GLib.IConv].
CharsetConverter (to_charset = null, from_charset = null)
Creates a new #GCharsetConverter.
to_charset is destination charset.from_charset is source charset.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.asConverter ()
Wraps this handle as
Converter.
A Converter object.asInitable ()
Wraps this handle as
Initable.
A Initable object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setUsefallback (bool Value)
Use fallback (of form
\<hexval>) for invalid bytes.
Value is the new property value.None.get_num_fallbacks ()
Gets the number of fallbacks that @converter has applied so far.
get_use_fallback ()
Gets the #GCharsetConverter:use-fallback property.
set_use_fallback (bool use_fallback)
Sets the #GCharsetConverter:use-fallback property.
use_fallback is %TRUE to use fallbacks.None.[185:14] static extends: object
Generated metadata helpers for CharsetConverter class surfaces.
properties ()
Returns property metadata for
CharsetConverter.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.