Package: gtk

Function gtk-entry-buffer-delete-text

Lambda List

gtk-entry-buffer-delete-text (buffer position n-chars)

Arguments

buffer -- a gtk-entry-buffer object
position -- an unsigned integer with the position at which to delete text
n-chars -- an integer with number of characters to delete

Return Value

An unsigned integer with the number of characters deleted.

Details

Deletes a sequence of characters from the entry buffer. n-chars characters are deleted starting at position. If n-chars is negative, then all characters until the end of the text are deleted.

If position or n-chars are out of bounds, then they are coerced to sane values. Note that the positions are specified in characters, not bytes.
 

See also

2020-5-31