X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fwindow.h;h=30fe53d8834b3d2237bd1c2c4205699d6c827a33;hb=3c678195610789166e1133575789f25da8f1a291;hp=93e946ab03caea3b11456b2d0de1bc7bd187f729;hpb=c8c67078daea54fdf03b46726a77ecf26cf65be4;p=rodin%2Fchimara.git diff --git a/src/window.h b/src/window.h index 93e946a..30fe53d 100644 --- a/src/window.h +++ b/src/window.h @@ -18,8 +18,15 @@ enum InputRequestType INPUT_REQUEST_LINE_UNICODE }; +/** + * glk_window_struct: + * + * This is an opaque structure (see + * Opaque Structures and should not be accessed directly. + */ struct glk_window_struct { + /*< private >*/ glui32 rock; /* Pointer to the node in the global tree that contains this window */ GNode *window_node; @@ -45,6 +52,10 @@ struct glk_window_struct glui32 *line_input_buffer_unicode; glui32 line_input_buffer_max_len; gboolean mouse_input_requested; + /* Line input field (text grids only) */ + glui32 input_length; + GtkTextChildAnchor *input_anchor; + GtkWidget *input_entry; /* Signal handlers */ gulong keypress_handler; gulong insert_text_handler;