Gsf.OutfileZip¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gsf.Outfile (2), Gsf.Output (18), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(sink) | 
| set_compression_method(method) | 
Virtual Methods¶
| Inherited: | Gsf.Output (3), GObject.Object (7) | 
|---|
Properties¶
| Inherited: | Gsf.Output (6) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| compression-level | int | r/w/co | The level of compression used, zero meaning none | 
| deflate-level | int | r/w/co | The level of deflate compression used, zero meaning none and -1 meaning the zlib default | 
| entry-name | str | r/w/co | The filename of this member in the archive without path | 
| sink | Gsf.Output | r/w/co | Where the archive is written | 
| zip64 | int | r/w/co | Whether to use zip64 format, -1 meaning automatic | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Gsf.OutfileZip(**kwargs)¶
- Bases: - Gsf.Outfile- Abstract: - No - 
classmethod new(sink)¶
- Parameters: - sink ( - Gsf.Output) – a- Gsf.Outputto hold the ZIP file- Raises: - GLib.Error- Returns: - the new zip file handler - Return type: - Gsf.Outfile- Creates the root directory of a Zip file and manages the addition of children. - This adds a reference to sink. 
 - 
set_compression_method(method)¶
- Parameters: - method ( - Gsf.ZipCompressionMethod) –- Return type: - bool
 
- 
classmethod 
Property Details¶
- 
Gsf.OutfileZip.props.compression_level¶
- Name: - compression-level- Type: - int- Default Value: - 8- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The level of compression used, zero meaning none 
- 
Gsf.OutfileZip.props.deflate_level¶
- Name: - deflate-level- Type: - int- Default Value: - -1- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The level of deflate compression used, zero meaning none and -1 meaning the zlib default 
- 
Gsf.OutfileZip.props.entry_name¶
- Name: - entry-name- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The filename of this member in the archive without path 
- 
Gsf.OutfileZip.props.sink¶
- Name: - sink- Type: - Gsf.Output- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Where the archive is written 
- 
Gsf.OutfileZip.props.zip64¶
- Name: - zip64- Type: - int- Default Value: - -1- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Whether to use zip64 format, -1 meaning automatic