InfText.FixlineBuffer¶
- Subclasses:
None
Methods¶
- Inherited:
GObject.Object (37), InfText.Buffer (18), Infinity.Buffer (2)
- Structs:
class |
|
Virtual Methods¶
- Inherited:
GObject.Object (7), InfText.Buffer (17), Infinity.Buffer (2)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The buffer for which to keep a fixed line count |
||
r/w/co |
The I/O object used to schedule line keeping |
||
r/w/co |
The number of lines to keep in the underlying buffer |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class InfText.FixlineBuffer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
InfText.FixlineBuffer
is an opaque data type. You should only access it via the public API functions.- classmethod new(io, buffer, n_lines)¶
- Parameters:
io (
Infinity.Io
) – AInfinity.Io
object to schedule timeouts.buffer (
InfText.Buffer
) – The underlying buffer for which to keep a fixed line count.n_lines (
int
) – The number of lines to be kept fixed.
- Returns:
- Return type:
Creates a new
InfText.FixlineBuffer
which keeps the number of trailing lines of the given underlying buffer fixed to n_lines.
Property Details¶
- InfText.FixlineBuffer.props.buffer¶
- Name:
buffer
- Type:
- Default Value:
- Flags:
The buffer for which to keep a fixed line count
- InfText.FixlineBuffer.props.io¶
- Name:
io
- Type:
- Default Value:
- Flags:
The I/O object used to schedule line keeping
- InfText.FixlineBuffer.props.lines¶
- Name:
lines
- Type:
- Default Value:
0
- Flags:
The number of lines to keep in the underlying buffer