forked from AuroraMiddleware/gtk
docs: add docs for GtkDirectionType and GtkDeleteType
This commit is contained in:
parent
75e3433d7b
commit
ab41ef518a
@ -178,6 +178,25 @@ typedef enum
|
|||||||
} GtkButtonBoxStyle;
|
} GtkButtonBoxStyle;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GtkDeleteType:
|
||||||
|
* @GTK_DELETE_CHARS: Delete characters.
|
||||||
|
* @GTK_DELETE_WORD_ENDS: Delete only the portion of the word to the
|
||||||
|
* left/right of cursor if we're in the middle of a word.
|
||||||
|
* @GTK_DELETE_WORDS: Delete words.
|
||||||
|
* @GTK_DELETE_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.
|
||||||
|
* @GTK_DELETE_DISPLAY_LINE_ENDS: Delete only the portion of the
|
||||||
|
* display-line to the left/right of cursor.
|
||||||
|
* @GTK_DELETE_PARAGRAPH_ENDS: Delete to the end of the
|
||||||
|
* paragraph. Like C-k in Emacs (or its reverse).
|
||||||
|
* @GTK_DELETE_PARAGRAPHS: Delete entire line. Like C-k in pico.
|
||||||
|
* @GTK_DELETE_WHITESPACE: Delete only whitespace. Like M-\ in Emacs.
|
||||||
|
*
|
||||||
|
* See also: #GtkEntry::delete-from-cursor.
|
||||||
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GTK_DELETE_CHARS,
|
GTK_DELETE_CHARS,
|
||||||
@ -193,6 +212,17 @@ typedef enum
|
|||||||
} GtkDeleteType;
|
} GtkDeleteType;
|
||||||
|
|
||||||
/* Focus movement types */
|
/* Focus movement types */
|
||||||
|
/**
|
||||||
|
* GtkDirectionType:
|
||||||
|
* @GTK_DIR_TAB_FORWARD: Move forward.
|
||||||
|
* @GTK_DIR_TAB_BACKWARD: Move backward.
|
||||||
|
* @GTK_DIR_UP: Move up.
|
||||||
|
* @GTK_DIR_DOWN: Move down.
|
||||||
|
* @GTK_DIR_LEFT: Move left.
|
||||||
|
* @GTK_DIR_RIGHT: Move right.
|
||||||
|
*
|
||||||
|
* Focus movement types.
|
||||||
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GTK_DIR_TAB_FORWARD,
|
GTK_DIR_TAB_FORWARD,
|
||||||
|
Loading…
Reference in New Issue
Block a user