1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00
Commit Graph

312 Commits

Author SHA1 Message Date
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
Richard M. Stallman
e363091e2c (xaw_pop_instance): Make x, y, w, h unsigned. 1995-04-15 18:34:01 +00:00
Richard M. Stallman
ccf589a69c (size_menu): Make height and label_width unsigned.
(fit_to_screen): Make screen_width and screen_height unsigned.
(motion_event_is_in_menu): Make x, y unsigned.
1995-04-15 18:33:29 +00:00
Richard M. Stallman
5b43bbf747 (update_one_menu_entry, make_menu_in_widget):
Specify more useful names in XmCreatePulldownMenu calls.
1995-04-14 03:51:10 +00:00
Richard M. Stallman
d6c5b98afe If HAVE_CONFIG_H, include config.h. 1995-04-10 08:05:13 +00:00
Richard M. Stallman
30bc62fa77 Remove function prototypes. 1995-04-10 00:34:00 +00:00
Richard M. Stallman
434b875777 (ALL_CFLAGS): Add -I${srcdir}/../src. 1995-04-09 04:58:29 +00:00
Richard M. Stallman
4386a54c09 (ALL_CFLAGS): Define HAVE_CONFIG_H. 1995-04-09 04:56:02 +00:00
Paul Reilly
41bf6a0645 (*): remove function prototypes.
(xm_pop_down_callback): Call the deactivation callback only when
popping down the top level submenu.
1995-04-08 18:01:09 +00:00
Richard M. Stallman
b69328cae2 (lwlib.o): Depend on Makefile. 1995-04-07 05:46:47 +00:00
Richard M. Stallman
0cb00a4456 (remove_grabs): Use type Widget for `menu'. 1995-04-07 05:44:36 +00:00
Paul Reilly
aebd973ee3 (ALL_CFLAGS): Allow include files to be found in
`srcdir'.
1995-02-15 19:11:32 +00:00
Richard M. Stallman
26873b7234 (maintainer-clean): Renamed from realclean. 1995-02-07 23:55:01 +00:00
Richard M. Stallman
3efac4b015 (safe_strdup): Don't use ANSI argument prototype. 1994-11-28 18:13:30 +00:00
Paul Reilly
e1241f09d8 (lw_refigure_widget): Use the macro USE_XAW rather than XAW. 1994-11-15 03:22:52 +00:00
Paul Reilly
ffa47e5469 (make_menu_in_widget): Differentiate a separator entry ("--") from a
title.
(xm_pop_down_callback): Filter all but the last pop down callbacks.
1994-11-08 13:06:07 +00:00
Paul Reilly
17eab85c8d (update_one_menu_entry): Use the parent of the cascade button as the
parent of the pulldown, rather than the cascade button itself.  This
works around a Motif SIGSEGV in the function `InSharedMenuHierarchy'.
1994-11-07 07:31:19 +00:00
Richard M. Stallman
47d52240aa (xlwmenu_default_font): New global variable.
(XlwMenuInitialize): Use xlwmenu_default_font to default
the font if necessary.  Make mw, itself, an argument.
1994-10-29 23:25:10 +00:00
Richard M. Stallman
8400b9ed37 (pop_up_menu): Pass a Display * to x_catch_errors, etc. 1994-10-26 04:57:41 +00:00
Richard M. Stallman
525b823278 (fit_to_screen): Don't put the menu off the left or top. 1994-10-08 04:16:17 +00:00
Paul Reilly
84593cae2f (display_menu_item): Add support for displaying the title in pop up menus. 1994-10-02 12:14:00 +00:00
Paul Reilly
f78c517706 (lw_set_main_areas): Use xm_set_main_areas().
(lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
1994-10-02 12:07:01 +00:00
Paul Reilly
ff5d2bae95 Declare xm_set_main_areas() and xm_manage_resizing(). 1994-10-02 11:55:07 +00:00
Paul Reilly
c884904e10 (make_menu_in_widget): Add support for displaying a title in pop up
menus.
(make_main, xm_set_main_areas, xm_manage_resizing): New functions to
create and manage a Motif Main Window widget.
1994-10-02 11:48:42 +00:00
Paul Reilly
6618806e6b (lw_set_main_areas): Move call to XmMainSetAreas() to `lwlib-Xm.c'. 1994-09-25 23:35:41 +00:00
Paul Reilly
87a559bff7 Clean up of temporary changes used to try to find a workaround for the
X11R4 Xt bug whereby motion events are not generated from submenus.
1994-09-25 23:30:51 +00:00
Paul Reilly
31bcd4f55a entered into RCS 1994-09-25 20:46:44 +00:00
Paul Reilly
45d91af424 entered into RCS 1994-09-25 17:18:58 +00:00
Paul Reilly
d35cf493ac *** empty log message *** 1994-09-25 00:22:16 +00:00
Paul Reilly
11bcd7d447 entered into RCS 1994-09-24 04:37:40 +00:00
Paul Reilly
2289f3f4df *** empty log message *** 1994-09-24 00:12:06 +00:00
Paul Reilly
4cc76151a7 *** empty log message *** 1994-09-23 21:02:25 +00:00
Richard M. Stallman
688f8f7f51 entered into RCS 1994-09-18 19:54:50 +00:00
Paul Reilly
200286b15a *** empty log message *** 1994-09-17 15:06:37 +00:00
Paul Reilly
d398028fdd *** empty log message *** 1994-09-17 12:53:30 +00:00
Paul Reilly
5acc1a62c8 entered into RCS 1994-09-16 18:39:54 +00:00
Paul Reilly
2af916816f entered into RCS 1994-09-16 17:37:05 +00:00
Paul Reilly
dfdcaf49f3 *** empty log message *** 1994-09-16 17:37:03 +00:00
Paul Reilly
801332e491 entered into RCS 1994-09-10 15:23:10 +00:00
Richard M. Stallman
f60044f5c6 *** empty log message *** 1994-05-16 21:29:03 +00:00
Richard M. Stallman
8eefe2b85b entered into RCS 1994-05-16 20:47:35 +00:00
Richard M. Stallman
bb2ee72bdf *** empty log message *** 1994-05-09 23:08:26 +00:00
Richard M. Stallman
98270d54bf entered into RCS 1994-05-06 17:29:23 +00:00
Richard M. Stallman
07c30a5cec Initial revision 1994-05-06 17:28:42 +00:00
Richard M. Stallman
3920203046 entered into RCS 1994-04-28 20:01:12 +00:00
Richard M. Stallman
72f163ea69 *** empty log message *** 1994-04-15 22:45:53 +00:00
Richard M. Stallman
15c909ba51 entered into RCS 1994-04-15 22:40:48 +00:00
Richard M. Stallman
79140ef009 *** empty log message *** 1994-04-12 16:33:08 +00:00
Fred Pierresteguy
dc49df96e3 *** empty log message *** 1994-04-01 08:25:12 +00:00
Richard M. Stallman
13162c0e6b *** empty log message *** 1994-03-19 07:16:54 +00:00
Fred Pierresteguy
05041ba0f8 *** empty log message *** 1994-03-14 17:50:20 +00:00
Fred Pierresteguy
e14e13a4cd *** empty log message *** 1994-03-14 17:07:06 +00:00
Fred Pierresteguy
15ba97a047 entered into RCS 1994-03-14 17:02:21 +00:00
Fred Pierresteguy
ce5a08a1b4 *** empty log message *** 1994-03-11 15:15:31 +00:00
Fred Pierresteguy
9331cca8ba *** empty log message *** 1994-03-11 10:36:17 +00:00
Fred Pierresteguy
b70cfce2b5 Initial revision 1994-03-11 09:56:39 +00:00
Richard M. Stallman
c52de5eb23 *** empty log message *** 1994-02-23 08:39:25 +00:00
Richard M. Stallman
364e6904f3 *** empty log message *** 1994-02-19 20:53:26 +00:00
Fred Pierresteguy
d2a5919f78 *** empty log message *** 1994-02-18 22:38:14 +00:00
Fred Pierresteguy
0b96f00bb4 *** empty log message *** 1994-02-18 13:24:41 +00:00
Richard M. Stallman
49e907d10e *** empty log message *** 1994-02-17 23:32:05 +00:00
Fred Pierresteguy
eb624afab1 *** empty log message *** 1994-02-17 22:09:05 +00:00
Fred Pierresteguy
19240c203a *** empty log message *** 1994-02-15 13:59:18 +00:00
Fred Pierresteguy
9acc68b10b *** empty log message *** 1994-02-15 13:54:14 +00:00
Roland McGrath
ed9c147319 *** empty log message *** 1994-02-08 22:46:59 +00:00
Richard M. Stallman
5f61736f65 *** empty log message *** 1994-02-01 18:21:00 +00:00
Richard M. Stallman
345a94f994 *** empty log message *** 1994-01-31 05:35:36 +00:00
Richard M. Stallman
ab9d3e3c85 entered into RCS 1994-01-31 04:34:11 +00:00
Richard M. Stallman
01492d1b7c *** empty log message *** 1994-01-30 03:17:32 +00:00
Richard M. Stallman
45449f995e *** empty log message *** 1994-01-22 23:28:43 +00:00
Richard M. Stallman
d97342f3aa *** empty log message *** 1994-01-21 16:52:12 +00:00
Roland McGrath
ddd6d6137f *** empty log message *** 1994-01-21 16:22:40 +00:00
Richard M. Stallman
60724eabaf *** empty log message *** 1994-01-20 13:16:53 +00:00
Richard M. Stallman
ec171d2e1b *** empty log message *** 1994-01-19 17:21:49 +00:00
Richard M. Stallman
40a6a4dd2f entered into RCS 1994-01-18 23:52:19 +00:00
Richard M. Stallman
e7818b5ac8 *** empty log message *** 1994-01-18 23:52:12 +00:00
Richard M. Stallman
07bf635fc3 Initial revision 1994-01-18 23:47:41 +00:00