Package: gtk

Enum gtk-delete-type

Details

The values of this enumeration are passed as an argument to the "delete-from-cursor" signal handler.
(define-g-enum "GtkDeleteType" gtk-delete-type
  (:export t
   :type-initializer "gtk_delete_type_get_type")
  (:chars 0)
  (:word-ends 1)
  (:words 2)
  (:display-lines 3)
  (:display-line-ends 4)
  (:paragraph-ends 5)
  (:paragraphs 6)
  (:whitespace 7))  
:chars
Delete characters.
:word-ends
Delete only the portion of the word to the left/right of cursor if we are in the middle of a word.
:words
Delete words.
:display-lines
Delete display-lines. Display-lines refers to the visible lines, with respect to to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.
:display-line-ends
Delete only the portion of the display-line to the left/right of cursor.
:paragraph-ends
Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).
:paragraphs
Delete entire line. Like C-k in pico.
:whitespace
Delete only whitespace. Like M- in Emacs.
 

See also

2021-3-21