Package: gtk

Function gtk:entry-buffer-delete-text

Lambda List

gtk:entry-buffer-delete-text (buffer position nchars)

Arguments

buffer -- a gtk:entry-buffer object
pos -- an unsigned integer for the position at which to delete text
nchars -- an integer for the number of characters to delete

Return Value

The unsigned integer with the number of characters deleted.

Details

Deletes a sequence of characters from the entry buffer. nchars characters are deleted starting at pos. If the nchars argument is negative, then all characters up to the end of the entry buffer are deleted.

If the pos or nchars arguments are out of bounds, then they are coerced to sane values. Note that the position is specified in characters, not bytes.
 

See also

2025-2-13