Tepl.FoldRegion¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r/w |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Tepl.FoldRegion(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(buffer, start, end)¶
- Parameters:
buffer (
Gtk.TextBuffer
) – aGtk.TextBuffer
.start (
Gtk.TextIter
) – aGtk.TextIter
.end (
Gtk.TextIter
) – aGtk.TextIter
.
- Returns:
a new
Tepl.FoldRegion
.- Return type:
New in version 1.0.
- get_bounds()¶
- Returns:
True
on success,False
otherwise.- start:
iterator to initialize.
- end:
iterator to initialize.
- Return type:
(
bool
, start:Gtk.TextIter
, end:Gtk.TextIter
)
Obtains iterators pointing to the start and end of the
Tepl.FoldRegion
.New in version 1.0.
- get_buffer()¶
- Returns:
the
Gtk.TextBuffer
where the fold region is applied.- Return type:
New in version 1.0.
- get_folded()¶
- Returns:
whether the
Tepl.FoldRegion
is folded.- Return type:
New in version 1.0.
- set_bounds(start, end)¶
- Parameters:
start (
Gtk.TextIter
) – aGtk.TextIter
.end (
Gtk.TextIter
) – aGtk.TextIter
.
Sets the start and end of the
Tepl.FoldRegion
.New in version 1.0.
Property Details¶
- Tepl.FoldRegion.props.buffer¶
- Name:
buffer
- Type:
- Default Value:
- Flags:
The
Gtk.TextBuffer
where the fold region is applied. TheTepl.FoldRegion
object has a weak reference to the buffer.New in version 1.0.