Virtual Method

GtkEditabledo_delete_text

Declaration [src]

void
do_delete_text (
  GtkEditable* editable,
  gint start_pos,
  gint end_pos
)

Description [src]

Deletes a sequence of characters. The characters that are deleted are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters deleted are those from start_pos to the end of the text.

Note that the positions are specified in characters, not bytes.

Parameters

start_pos

Type: gint

Start position.

end_pos

Type: gint

End position.