Mercurial > emacs
view lwlib/lwlib-Xlw.h @ 22833:a3fe2af7cefb
(Qinput_method_function): New variable.
(syms_of_keyboard): Init and staticpro it.
(read_key_sequence): Bind input-method-function,
and set it to nil after reading the first event.
(raw_keybuf, raw_keybuf_count): New variables, to record
raw input events as they are read with read_char.
(GROW_RAW_KEYBUF): New macro.
(Fthis_single_command_raw_keys): New function.
(syms_of_keyboard): defsubr it.
(read_char): Call the input method if appropriate.
Change logic for distinguishing rereads from new events;
use local var `reread'. Take events from
Vunread_input_method_events and Vunread_post_input_method_events.
(Vunread_input_method_events, Vunread_post_input_method_events)
(Vinput_method_function): New variable.
(syms_of_keyboard): Set up Lisp vars.
(command_loop_1): Check Vunread_input_method_events and
Vunread_post_input_method_events along with Vunread_command_events.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 26 Jul 1998 23:03:58 +0000 |
parents | 118a6ad56ae0 |
children | 6ed38ee607e9 |
line wrap: on
line source
#ifndef LWLIB_XLW_H #define LWLIB_XLW_H #include "lwlib-int.h" extern widget_creation_entry xlw_creation_table []; extern widget_creation_function xlw_create_dialog; Boolean lw_lucid_widget_p (/* Widget widget */); void xlw_update_one_widget (/* widget_instance* instance, Widget widget, widget_value* val, Boolean deep_p */); void xlw_update_one_value (/* widget_instance* instance, Widget widget, widget_value* val */); void xlw_destroy_instance (/* widget_instance* instance */); void xlw_pop_instance (/* widget_instance* instance, Boolean up */); void xlw_popup_menu (/* Widget widget */); #endif /* LWLIB_XLW_H */