50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

RGtk2 (version 2.20.31)

gtkTextBufferDeleteSelection: gtkTextBufferDeleteSelection

Description

Deletes the range between the "insert" and "selection_bound" marks, that is, the currently-selected text. If interactive is TRUE, the editability of the selection will be considered (users can't delete uneditable text).

Usage

gtkTextBufferDeleteSelection(object, interactive, default.editable)

Arguments

interactive
whether the deletion is caused by user interaction
default.editable
whether the buffer is editable by default

Value