Mercurial > emacs
comparison lwlib/ChangeLog @ 53564:609ef1718642
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
(Xaw and Xm pop down on ESC).
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Mon, 12 Jan 2004 01:45:22 +0000 |
parents | 531e2be69ef0 |
children | 8a28788cef84 |
comparison
equal
deleted
inserted
replaced
53563:110584d2405e | 53564:609ef1718642 |
---|---|
1 2004-01-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | |
2 | |
3 * xlwmenuP.h (_XlwMenu_part): Added top_depth. | |
4 | |
5 * xlwmenu.h: Removed declaration of pop_up_menu | |
6 | |
7 * xlwmenu.c (Start): Get correct time if time in event is CurrentTime. | |
8 (find_first_selectable, find_next_selectable) | |
9 (find_prev_selectable): Add parameter skip_no_call_data to skip | |
10 over items with no call data (popup menu titles). | |
11 (Down, Up): Compare old_depth to top_depth instead of 2. | |
12 Pass True to find_*_selectable:s new parameter if this is a popup menu. | |
13 (Left, Right): Compare old_depth to top_depth instead of 2. | |
14 Pass 0 to find_*_selectable:s new parameter. | |
15 (pop_up_menu): Set top_depth to 1 for pop up menus and 2 for | |
16 menu bar menus, to enable keyboard traversal of popups. | |
17 | |
18 * lwlib-Xm.c (dialog_key_cb): New function. | |
19 (make_dialog): Add event handlers to dialog_key_cb for key press | |
20 so we can pop down on ESC. | |
21 | |
22 * lwlib-Xlw.c (xlw_popup_menu): Replace call to pop_up_menu with | |
23 XtCallActionProc ("start"). Use a full XEvent since "start" copies it. | |
24 | |
25 * lwlib-Xaw.c (make_dialog): Add override so dialog pops down | |
26 on ESC. | |
27 (wm_delete_window): If widget isn't a shell, use the parent. | |
28 | |
1 2003-05-22 Dave Love <fx@gnu.org> | 29 2003-05-22 Dave Love <fx@gnu.org> |
2 | 30 |
3 * xlwmenu.c: Include lisp.h, not ../src/lisp.h. | 31 * xlwmenu.c: Include lisp.h, not ../src/lisp.h. |
4 (make_drawing_gcs): Remove unused `xswa', `mask'. | 32 (make_drawing_gcs): Remove unused `xswa', `mask'. |
5 | 33 |