| Top |
GtefFoldRegionGtefFoldRegion — Foldable region in a GtkTextBuffer |
GtefFoldRegion * gtef_fold_region_new (GtkTextBuffer *buffer,const GtkTextIter *start,const GtkTextIter *end);
Since: 1.0
GtkTextBuffer *
gtef_fold_region_get_buffer (GtefFoldRegion *fold_region);
Since: 1.0
gboolean
gtef_fold_region_get_folded (GtefFoldRegion *fold_region);
Since: 1.0
void gtef_fold_region_set_folded (GtefFoldRegion *fold_region,gboolean folded);
Folds or unfolds the region.
Since: 1.0
gboolean gtef_fold_region_get_bounds (GtefFoldRegion *fold_region,GtkTextIter *start,GtkTextIter *end);
Obtains iterators pointing to the start and end of the GtefFoldRegion.
Since: 1.0
void gtef_fold_region_set_bounds (GtefFoldRegion *fold_region,const GtkTextIter *start,const GtkTextIter *end);
Sets the start and end of the GtefFoldRegion.
Since: 1.0
“buffer” property“buffer” GtkTextBuffer *
The GtkTextBuffer where the fold region is applied. The GtefFoldRegion object has a weak reference to the buffer.
Flags: Read / Write / Construct Only
Since: 1.0
“folded” property“folded” gboolean
Whether the GtefFoldRegion is folded or not.
Flags: Read / Write
Default value: FALSE
Since: 1.0