15 INPUT_REQUEST_CHARACTER,
16 INPUT_REQUEST_CHARACTER_UNICODE,
18 INPUT_REQUEST_LINE_UNICODE
21 struct glk_window_struct
24 /* Pointer to the node in the global tree that contains this window */
26 /* Window parameters */
28 /* "widget" is the actual widget with the window's functionality */
30 /* "frame" is the widget that is the child of the ChimaraGlk container, such
31 as a scroll window. It may be the same as "widget". */
33 /* Width and height of the window's size units, in pixels */
36 /* Streams associated with the window */
37 strid_t window_stream;
39 /* Width and height of the window, in characters (text grids only) */
42 /* Input request stuff */
43 enum InputRequestType input_request_type;
44 gchar *line_input_buffer;
45 glui32 *line_input_buffer_unicode;
46 glui32 line_input_buffer_max_len;
47 gboolean mouse_input_requested;
48 /* Line input field (text grids only) */
50 GtkTextChildAnchor *input_anchor;
51 GtkWidget *input_entry;
53 gulong keypress_handler;
54 gulong insert_text_handler;