Gio.CharsetConverter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r/w/co |
|||
r/w/c |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gio.CharsetConverter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GCharsetConverter
is an implementation of [iface`Gio`.Converter] based on [struct`GLib`.IConv].- classmethod new(to_charset, from_charset)[source]¶
- Parameters:
- Raises:
- Returns:
a new
Gio.CharsetConverter
orNone
on error.- Return type:
Creates a new
Gio.CharsetConverter
.New in version 2.24.
- get_num_fallbacks()[source]¶
- Returns:
the number of fallbacks that self has applied
- Return type:
Gets the number of fallbacks that self has applied so far.
New in version 2.24.
- get_use_fallback()[source]¶
-
Gets the
Gio.CharsetConverter
:use-fallback
property.New in version 2.24.
- set_use_fallback(use_fallback)[source]¶
-
Sets the
Gio.CharsetConverter
:use-fallback
property.New in version 2.24.
Property Details¶
- Gio.CharsetConverter.props.from_charset¶
- Name:
from-charset
- Type:
- Default Value:
- Flags:
The character encoding to convert from.
New in version 2.24.
- Gio.CharsetConverter.props.to_charset¶
- Name:
to-charset
- Type:
- Default Value:
- Flags:
The character encoding to convert to.
New in version 2.24.