Gfls.LoaderConfigSimple¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class Gfls.LoaderConfigSimple(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new_from_file(file)¶
 - Parameters:
 - Returns:
 a new
Gfls.LoaderConfigSimpleobject.- Return type:
 
Creates a new
Gfls.LoaderConfigSimpleobject with file for the input content.New in version 0.2.
- classmethod new_from_stream(input_stream)¶
 - Parameters:
 input_stream (
Gio.InputStream) – aGio.InputStream.- Returns:
 a new
Gfls.LoaderConfigSimpleobject.- Return type:
 
Creates a new
Gfls.LoaderConfigSimpleobject with input_stream for the input content.To load from stdin, a useful function is
Gio.ApplicationCommandLine.get_stdin().New in version 0.2.
- get_file()¶
 - 
New in version 0.2.
 
- get_stream()¶
 - Returns:
 the
Gio.InputStreamof self, orNone.- Return type:
 
New in version 0.2.