Xmlb.BuilderSourceCtx¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Xmlb.BuilderSourceCtx(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_bytes(cancellable)¶
- Parameters:
cancellable (
Gio.Cancellable
orNone
) – aGio.Cancellable
, orNone
- Raises:
- Returns:
- Return type:
Returns the data currently being processed.
If the
Xmlb.BuilderSourceCtx
is backed by a file, the returnedGLib.Bytes
may be memory-mapped, and the backing file must not be modified until theGLib.Bytes
is destroyed.New in version 0.1.7.
- get_filename()¶
-
Returns the basename of the file currently being processed.
New in version 0.1.7.
- get_stream()¶
- Returns:
- Return type:
Returns the input stream currently being processed.
New in version 0.1.7.