Andreas Schwab
cec17865e8
Always declare xmalloc.
...
[USE_XAW]: Include <X11/Xaw/Paned.h>.
(lwlib_memset, lwlib_bcopy): Explicitly declare return type.
1998-04-06 10:23:30 +00:00
Richard M. Stallman
bafa64ca78
(update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.
1997-12-20 23:12:09 +00:00
Richard M. Stallman
4f08464cb8
(motion_event_is_in_menu): Extend the left and
...
top windows by the shadow width.
1997-09-20 04:48:29 +00:00
Richard M. Stallman
ccc1cac016
(display_menu): If an item is disabled,
...
don't display its submenu (if any).
1997-07-26 01:40:05 +00:00
Richard M. Stallman
5efb61c794
(pop_up_menu): Update the call to x_catch_errors.
1997-05-02 07:27:07 +00:00
Richard M. Stallman
1ba46f7d63
(enriched-translations): Add top' and choice' everywhere so that *
...
can be entered.
(custom-face-attributes): Don't use top-line'.
(mode-line-format): Replace (:eval mode-line-mode-name)'.
(mode-line-mode-name): New.
(make-mode-line-mouse-sensitive): Don't change default value
of x' are found before files starting with down_p'.
1997-01-22 02:04:17 +00:00
Richard M. Stallman
923f85be1c
(update_one_menu_entry): Fix previous change:
...
When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget,
just modify the existing one.
1996-08-12 18:57:08 +00:00
Richard M. Stallman
61069f2b08
(merge_widget_value): Undo previous change.
1996-08-10 18:51:19 +00:00
Richard M. Stallman
565157eefa
(update_one_menu_entry): When creating a pulldown
...
in an existing but empty menu item, in order to get a new functional
pulldown, the menu item must be switched from an XmPushButtonGadget
into a XmCascadeButtonGadget.
1996-08-10 18:48:18 +00:00
Richard M. Stallman
42de618f8f
(make_menubar): Turn off menu accelerator.
1996-08-01 22:25:36 +00:00
Richard M. Stallman
2fe6d204c9
(merge_widget_value) [USE_MOTIF]: Pass along the change flag from
...
merged_contents.
1996-07-27 16:19:46 +00:00
Karl Heuer
1fb87c7784
Fix FSF address in comment.
1996-07-20 18:10:35 +00:00
Karl Heuer
29a0dc6ce1
(xm_update_menu): Fix loop termination test.
1996-07-13 18:51:11 +00:00
Karl Heuer
d6f8129433
Undo previous change.
1996-07-10 13:47:24 +00:00
Karl Heuer
0d7ed72012
Undo previous change.
1996-07-07 23:00:30 +00:00
Miles Bader
f5bdf293d7
Declare lw_motif_menu_related_event_p.
1996-07-04 05:59:23 +00:00
Miles Bader
0e43e01452
(lw_toolkit_related_event_p): A predicate to identify toolkit-specific events.
1996-07-04 05:50:07 +00:00
Miles Bader
7f76dcc0ad
(lw_motif_menu_related_event_p): A predicate to identify keyboard events
...
intended only for menus.
1996-07-04 05:46:24 +00:00
Miles Bader
d7e4738238
Declare lw_toolkit_related_event_p.
1996-07-04 05:46:22 +00:00
Richard M. Stallman
5efe98b7b6
(make_menu_in_widget): Set mapping delay
...
for cascade buttons to zero.
1996-06-10 17:31:25 +00:00
Richard M. Stallman
d69fa6b179
(destroy_all_children): When freeing a cascade button, free its submenu too.
...
(make_menu_in_widget): Use a cascade button gadget, not a widget.
Include Xm/CascadeBG.h.
1996-04-03 17:22:57 +00:00
Richard M. Stallman
6180d6be50
(tags): New target.
1996-03-29 14:52:56 +00:00
Richard M. Stallman
9009ad5554
(TAGS): Renamed from `tags' and fixed to work.
1996-03-28 18:39:26 +00:00
Richard M. Stallman
4475c22299
(xlwmenu.o): New explicit target.
1996-03-26 18:46:04 +00:00
Richard M. Stallman
0c12a958b0
(merge_widget_value): Set the this_one_change field.
1996-03-25 01:47:33 +00:00
Richard M. Stallman
63e9d9700c
(struct widget_value): New field this_one_change.
1996-03-25 01:47:16 +00:00
Richard M. Stallman
0d807395f8
(destroy_all_children): New arg first_child_to_destroy.
...
(make_menu_in_widget): New arg keep_first_children.
(xm_update_menu): Preserve the first children even if later ones
have a structural change.
(update_one_menu_entry): Use this_one_change field.
1996-03-25 01:46:16 +00:00
Richard M. Stallman
6a21225cd1
(motion_event_is_in_menu): Make x and y signed.
1996-03-01 20:11:49 +00:00
Richard M. Stallman
c17d59fcd2
(lw_window_is_in_menubar) [USE_MOTIF]:
...
With Motif, the window WIN can be the menu bar widget itself.
1996-02-25 06:59:59 +00:00
Karl Heuer
53e28d2aee
(free_widget_value_tree, merge_widget_value):
...
Use XtFree for the toolkit_data.
1996-02-21 20:54:46 +00:00
Karl Heuer
bd2c5b53f3
(lw_internal_update_other_instances): Move static var
...
outside the function, and rename it to lwlib_updating.
1996-02-19 07:38:02 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Richard M. Stallman
7ef3956a26
(instantiate_widget_instance): Renamed from
...
instanciate_widget_instance (spelling correction).
All callers changed.
(merge_widget_value): Treat disappearance of entire contents
as a STRUCTURAL_CHANGE.
1996-01-12 21:48:53 +00:00
Karl Heuer
908ff139f9
Comment fixes.
1996-01-05 00:45:43 +00:00
Richard M. Stallman
ba624d0f4c
(xlwMenuActionsList): Add "key" and "nothing".
...
(xlwMenuTranslations): Add translations for Key, KeyUp,
and for the modifier keysyms.
(Nothing, Key): New functions.
(XlwMenuSetValues): Do redisplay if non-null contents
get replaced by empty contents.
1995-12-31 19:15:18 +00:00
Karl Heuer
5750ebd89f
Add #undef for index and rindex.
1995-12-21 08:06:29 +00:00
Richard M. Stallman
4f35820fbc
(display_menu_item): Fix previous change.
1995-11-15 23:00:18 +00:00
Richard M. Stallman
c142163a18
(display_menu_item): Don't treat buttons specially.
1995-11-10 17:43:52 +00:00
Richard M. Stallman
a6578b63d2
(RANLIB): Get this var from configure.
1995-08-16 14:20:19 +00:00
Richard M. Stallman
86c42dbd6d
(xm_popup_menu): New arg `event'.
1995-08-02 07:14:04 +00:00
Richard M. Stallman
0c7c510c4c
(xlw_popup_menu): New arg event.
1995-08-02 07:13:45 +00:00
Richard M. Stallman
5b3b31d608
(lw_popup_menu): New arg event, passed along.
1995-08-02 07:13:19 +00:00
Karl Heuer
99dcca2feb
(lwlib_toolkit_type): New variable.
1995-06-11 20:22:09 +00:00
Karl Heuer
3c9ce1c4f3
(Drag): Do nothing unless menu.popped_up field is set.
1995-05-29 07:16:27 +00:00
Karl Heuer
a504c8fa20
(XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
1995-05-23 03:04:22 +00:00
Karl Heuer
d111e5ab12
(activate_button, xm_update_cascadebutton): Don't use prototype.
1995-05-20 05:18:42 +00:00
Karl Heuer
9e3fe4594b
Don't use prototype.
1995-05-20 05:15:49 +00:00
Richard M. Stallman
a61155bcbd
(lw_refigure_widget) [USE_MOTIF]: Fix backward if.
1995-05-06 01:54:19 +00:00
Richard M. Stallman
b7cffe17fa
(ALL_CFLAGS): Add -I../src.
1995-05-04 20:01:13 +00:00
Richard M. Stallman
c7d713150e
[__osf__]: Include string.h and stdlib.h.
...
[__osf__] (xmalloc): Declared.
1995-05-04 16:15:43 +00:00