GMime.StreamFile¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
fp  | 
r  | 
standard-c FILE pointer  | 
|
owner  | 
r  | 
  | 
|
parent_object  | 
r  | 
parent   | 
Class Details¶
- class GMime.StreamFile(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
A
GMime.Streamwrapper around standard-c FILE pointers.- classmethod new(fp)¶
 - Parameters:
 - Returns:
 a stream using fp.
- Return type:
 
Creates a new
GMime.StreamFileobject around fp.Note: The created
GMime.StreamFileobject will own the FILE pointer passed in.
- classmethod new_with_bounds(fp, start, end)¶
 - Parameters:
 - Returns:
 a stream using fp with bounds start and end.
- Return type:
 
Creates a new
GMime.StreamFileobject around fp with bounds start and end.Note: The created
GMime.StreamFileobject will own the FILE pointer passed in.
- classmethod open(path, mode)¶
 - Parameters:
 - Raises:
 - Returns:
 a stream using for reading and/or writing to the specified file path or
Noneon error.- Return type:
 
Creates a new
GMime.StreamFileobject for the specified path.
- get_owner()¶
 - 
Gets whether or not self owns the backend FILE pointer.