10 #include "hyperlink.h"
16 INPUT_REQUEST_CHARACTER,
17 INPUT_REQUEST_CHARACTER_UNICODE,
19 INPUT_REQUEST_LINE_UNICODE
25 * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
26 * Opaque Structures</link> and should not be accessed directly.
28 struct glk_window_struct
32 gidispatch_rock_t disprock;
33 /* Pointer to the node in the global tree that contains this window */
35 /* Window parameters */
37 /* "widget" is the actual widget with the window's functionality */
39 /* "frame" is the widget that is the child of the ChimaraGlk container, such
40 as a scroll window. It may be the same as "widget". */
42 /* Width and height of the window's size units, in pixels */
45 /* Streams associated with the window */
46 strid_t window_stream;
48 /* Width and height of the window, in characters (text grids only) */
51 /* Window split data (pair windows only) */
54 glui32 constraint_size;
55 /* Input request stuff */
56 enum InputRequestType input_request_type;
57 gchar *line_input_buffer;
58 glui32 *line_input_buffer_unicode;
59 glui32 line_input_buffer_max_len;
60 gidispatch_rock_t buffer_rock;
61 gboolean mouse_input_requested;
64 /* Line input field (text grids only) */
66 GtkTextChildAnchor *input_anchor;
67 GtkWidget *input_entry;
68 gulong line_input_entry_changed;
70 gulong char_input_keypress_handler;
71 gulong line_input_keypress_handler;
72 gulong insert_text_handler;
73 gulong mouse_click_handler;
74 gulong mouse_move_handler;