Gsf.OutputIconv¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gsf.Output (18), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(sink, dst, src) | 
Virtual Methods¶
| Inherited: | Gsf.Output (3), GObject.Object (7) | 
|---|
Properties¶
| Inherited: | Gsf.Output (6) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| fallback | str | r/w | The string to use for invalid characters | 
| input-charset | str | r/w/co | The character set to convert from | 
| output-charset | str | r/w/co | The character set to convert to | 
| sink | Gsf.Output | r/w/co | Where the converted data is written | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Gsf.OutputIconv(**kwargs)¶
- Bases: - Gsf.Output- Abstract: - No - Structure: - Gsf.OutputIconvClass- 
classmethod new(sink, dst, src)¶
- Parameters: - sink (Gsf.Output) – The underlying data source.
- dst (str) – The target character set.
- src (str) – The source character set.
 - Returns: - a new - Gsf.Outputobject or- None.- Return type: - Adds a reference to sink. 
- sink (
 
- 
classmethod 
Property Details¶
- 
Gsf.OutputIconv.props.fallback¶
- Name: - fallback- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE- Either - Noneor a UTF-8 string (representable in the target encoding) to convert and output in place of characters that cannot be represented in the target encoding.- Nonemeans use \u1234 or \U12345678 format.
- 
Gsf.OutputIconv.props.input_charset¶
- Name: - input-charset- Type: - str- Default Value: - 'UTF-8'- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The character set to convert from 
- 
Gsf.OutputIconv.props.output_charset¶
- Name: - output-charset- Type: - str- Default Value: - 'UTF-8'- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The character set to convert to 
- 
Gsf.OutputIconv.props.sink¶
- Name: - sink- Type: - Gsf.Output- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Where the converted data is written