From 52b8dbf903af0e5caa834888f532f65db368e6b3 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 17 Jan 2000 09:16:13 +0000 Subject: [PATCH] *** empty log message *** --- lwlib/ChangeLog | 28 ++++++++++++++++++++++++++++ src/ChangeLog | 21 +++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index abbe7ef1134..bf8741ea5a4 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,31 @@ +2000-01-17 Gerd Moellmann + + * lwlib-Xm.c (xm_arm_callback): New function. + (make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and + XmNdisarmCallback for buttons (not supported for other widgets). + + * lwlib-Xlw.c (highlight_hook): New function. + (xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as + callback XtNhighlightCallback. + + * lwlib.c (copy_widget_value_tree): Copy help string. + (free_widget_value_tree): Free help string. + (merge_widget_value): Handle help string. + (allocate_widget_info, lw_register_widget, lw_create_widget): Add + parameter HIGHLIGHT_CB. + (lw_get_widget_instance): New function. + + * lwlib-int.h: Add prototype for lw_get_widget_instance. + + * lwlib.h (_widget_value): Add help string. + + * xlwmenu.c (xlwMenuResources): All XtNhighlightCallback. + (remap_menubar): Call highlight callback. + + * xlwmenu.h (XtNhighlightCallback): New define. + + * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list. + 1999-10-19 Paul Eggert Add support for large files, plus some locale improvements. diff --git a/src/ChangeLog b/src/ChangeLog index 8df7fb72eb6..ff1b7e7724e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,24 @@ +2000-01-17 Gerd Moellmann + + * xfns.c (x_window): Call lw_create_widget with new parameter + list. + + * widget.c (EmacsFrameSetCharSize): Change size of children first + because of problems with main window geometry management under + Lesstif. + + * xmenu.c (enum menu_item_idx): New enumeration replacing defines + MENU_ITEMS_ITEM_.*. + (MENU_ITEMS_ITEM_HELP): New enumerator. + (push_menu_item): Add parameter HELP. Record help in menu_items. + (single_menu_item, single_submenu, list_of_items): Call + push_menu_item with new parameter. + (single_submenu): Set help string in widget value. + (menu_highlight_callback): New function. + (set_frame_menubar): Call lw_create_widget with new + parameter list. + (xmenu_show, xdialog_show): Ditto. + 2000-01-13 Gerd Moellmann * sound.c (Fplay_sound): Improve doc string. -- 2.39.5