15 INPUT_REQUEST_CHARACTER,
16 INPUT_REQUEST_CHARACTER_UNICODE,
18 INPUT_REQUEST_LINE_UNICODE
24 * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
25 * Opaque Structures</link> and should not be accessed directly.
27 struct glk_window_struct
31 gidispatch_rock_t disprock;
32 /* Pointer to the node in the global tree that contains this window */
34 /* Window parameters */
36 /* "widget" is the actual widget with the window's functionality */
38 /* "frame" is the widget that is the child of the ChimaraGlk container, such
39 as a scroll window. It may be the same as "widget". */
41 /* Width and height of the window's size units, in pixels */
44 /* Streams associated with the window */
45 strid_t window_stream;
47 /* Width and height of the window, in characters (text grids only) */
50 /* Window split data (pair windows only) */
53 glui32 constraint_size;
54 /* Input request stuff */
55 enum InputRequestType input_request_type;
56 gchar *line_input_buffer;
57 glui32 *line_input_buffer_unicode;
58 glui32 line_input_buffer_max_len;
59 gidispatch_rock_t buffer_rock;
60 gboolean mouse_input_requested;
61 /* Line input field (text grids only) */
63 GtkTextChildAnchor *input_anchor;
64 GtkWidget *input_entry;
66 gulong keypress_handler;
67 gulong insert_text_handler;