Foundry.InputFile¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.InputFile(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(title, subtitle, validator, file_type, value)¶
- Parameters:
title (
str) –subtitle (
str) –validator (
Foundry.InputValidatororNone) – optional validatorfile_type (
Gio.FileType) – the type of file to select
- Return type:
Use
G_FILE_TYPE_DIRECTORYfor file_type to select only directories. UseG_FILE_TYPE_REGULARfor only regular files. UseG_FILE_TYPE_UNKNOWNfor either.
- get_file_type()¶
- Return type:
Property Details¶
- Foundry.InputFile.props.file_type¶
- Name:
file-type- Type:
- Default Value:
- Flags: