]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorGerd Moellmann <gerd@gnu.org>
Mon, 17 Jan 2000 09:16:13 +0000 (09:16 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 17 Jan 2000 09:16:13 +0000 (09:16 +0000)
lwlib/ChangeLog
src/ChangeLog

index abbe7ef113413cc078a754e78dbb2d6047fbcf12..bf8741ea5a4b3b7c20666ec37a0b5e4f7bef53ec 100644 (file)
@@ -1,3 +1,31 @@
+2000-01-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * 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  <eggert@twinsun.com>
        
        Add support for large files, plus some locale improvements.
index 8df7fb72eb6432349b618ebefe58211d2d292174..ff1b7e7724e8800f6db473bc6e9c3658fcad8c09 100644 (file)
@@ -1,3 +1,24 @@
+2000-01-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * 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  <gerd@gnu.org>
 
        * sound.c (Fplay_sound): Improve doc string.