Foundry.TemplateOutput¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.TemplateOutput(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(file, contents, mode)¶
- Parameters:
file (
Gio.File) – a [iface`Gio`.File] to write tocontents (
GLib.Bytes) – the contents to write as an immutable byte buffermode (
int) – the file mode (or -1 to use the default)
- Return type:
- dup_contents()¶
- Return type:
- write()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Writes the output contents to the destination file.
Property Details¶
- Foundry.TemplateOutput.props.contents¶
- Name:
contents- Type:
- Default Value:
- Flags: