Gio.ConverterOutputStream¶
| Subclasses: | None |
|---|
Methods¶
| Inherited: | Gio.FilterOutputStream (3), Gio.OutputStream (29), GObject.Object (37), Gio.PollableOutputStream (5) |
|---|---|
| Structs: | GObject.ObjectClass (5) |
| class | new (base_stream, converter) |
get_converter () |
Virtual Methods¶
| Inherited: | Gio.OutputStream (15), GObject.Object (7), Gio.PollableOutputStream (5) |
|---|
Properties¶
| Inherited: | Gio.FilterOutputStream (2) |
|---|
| Name | Type | Flags | Short Description |
|---|---|---|---|
converter |
Gio.Converter |
r/w/co | The converter object |
Signals¶
| Inherited: | GObject.Object (1) |
|---|
Fields¶
| Inherited: | GObject.Object (1) |
|---|
| Name | Type | Access | Description |
|---|---|---|---|
| parent_instance | Gio.FilterOutputStream |
r |
Class Details¶
-
class
Gio.ConverterOutputStream(**kwargs)¶ Bases: Gio.FilterOutputStream,Gio.PollableOutputStreamAbstract: No Structure: Gio.ConverterOutputStreamClassConverter output stream implements
Gio.OutputStreamand allows conversion of data of various types during reading.As of GLib 2.34,
Gio.ConverterOutputStreamimplementsGio.PollableOutputStream.-
classmethod
new(base_stream, converter)[source]¶ Parameters: - base_stream (
Gio.OutputStream) – aGio.OutputStream - converter (
Gio.Converter) – aGio.Converter
Returns: a new
Gio.OutputStream.Return type: Creates a new converter output stream for the base_stream.
- base_stream (
-
get_converter()[source]¶ Returns: the converter of the converter output stream Return type: Gio.ConverterGets the
Gio.Converterthat is used by self.New in version 2.24.
-
classmethod
Property Details¶
-
Gio.ConverterOutputStream.props.converter¶ Name: converterType: Gio.ConverterDefault Value: NoneFlags: READABLE,WRITABLE,CONSTRUCT_ONLYThe converter object