Glenn Morris
e481899ccb
Revert license to the original GPLv1 or later (changed 20050317).
2007-02-28 03:52:45 +00:00
Glenn Morris
4e6835dbc4
Add 2007 to copyright years.
2007-01-21 04:57:37 +00:00
Thien-Thi Nguyen
5b0d63bc36
Update years in copyright notice; nfc.
2006-02-05 23:44:47 +00:00
Thien-Thi Nguyen
92b47a4a99
Update years in copyright notice; nfc.
2005-08-07 10:56:27 +00:00
Jan Djärv
7537ab9c84
* lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for
...
labels in menu bar.
2005-07-19 09:06:47 +00:00
Lute Kamstra
364c38d3af
Update FSF's address.
2005-07-04 15:47:28 +00:00
Stefan Monnier
3c916d6555
(xm_update_label, xm_update_list): Use the recommended
...
XmStringCreateLocalized function. Add missing copyright.
2005-03-17 19:03:16 +00:00
Jan Djärv
244c93fe57
Changes for lucid popup menus (keyboard traversal enabled) and dialogs
...
(Xaw and Xm pop down on ESC).
2004-01-12 01:45:22 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Jan Djärv
d0bdb0602c
lwlib-Xm.c: Fixed memory leak for menus.
2003-01-26 13:06:48 +00:00
Jan Djärv
9b7e90fd17
Remove compiler warning
2002-04-22 18:25:55 +00:00
Richard M. Stallman
2f96293d69
Include ../src/lisp.h.
2001-12-02 05:00:27 +00:00
Gerd Moellmann
388d6c3389
(x_print_complete_resource_name) [0]: New function.
2001-03-22 19:11:33 +00:00
Gerd Moellmann
667f102ab2
(make_menu_in_widget): Remove code forcing LessTif to
...
recompute centered text; it works fine without with current LessTif.
2001-03-13 16:51:13 +00:00
Gerd Moellmann
f25d58a47c
(make_menu_in_widget): Add an XmNpopdownCallback
...
instead of an XmNunmapCallback.
(xm_unmap_callback): Removed.
2001-03-13 16:30:15 +00:00
Gerd Moellmann
5625f709a4
(make_menubar): Take out code in #if 0.
2001-03-13 12:38:50 +00:00
Gerd Moellmann
3d57dbba1d
(xm_popup_menu): Don't set XmNmenuPost unless
...
necessary. From Rick Scott <rwscott@alumni.uwaterloo.ca>.
2001-03-13 12:31:55 +00:00
Gerd Moellmann
81e3f05877
(xm_arm_callback): Don't compare widgets with `None',
...
use NULL instead.
2001-02-28 15:03:11 +00:00
Gerd Moellmann
2f87cc746e
(xm_update_radiobox, update_one_menu_entry)
...
(xm_update_one_widget): Use XtSetSensitive instead of setting the
value of XmNsensitive. From Rick Scott
<rwscott@alumni.uwaterloo.ca>.
2001-02-28 14:54:54 +00:00
Gerd Moellmann
27e3b1a140
(xm_arm_callback): Fix last change.
2000-12-07 12:33:32 +00:00
Gerd Moellmann
924e171446
(xm_arm_callback): Handle case that W is null;
...
also see comment there.
2000-11-30 12:50:08 +00:00
Gerd Moellmann
8dd095ee45
Use NULL at the end of the
...
variable argument lists of XtVaSetValues and XtVaGetValues
functions because 0 is not sufficient on systems where sizeof
(int) < sizeof (void *).
2000-08-03 20:09:56 +00:00
Dave Love
200ca4d576
(P_): Use PROTOTYPES.
2000-06-06 14:13:17 +00:00
Gerd Moellmann
d21cf544f7
(make_menubar) [LESSTIF_VERSION]: Don't set
...
XmNresizeHeight and XmNresizeWidth.
2000-03-12 16:22:19 +00:00
Gerd Moellmann
1d4d17e24a
(make_menubar): Set XmNresizeHeight and
...
XmNresizeWidth resources only if LESSTIF_VERSION is defined.
2000-03-06 22:50:15 +00:00
Gerd Moellmann
566f7ec858
(xm_manage_resizing): Rewritten.
2000-03-05 14:32:02 +00:00
Gerd Moellmann
640438b056
(make_menu_in_widget): Don't add XmNpopdownCallback,
...
add XmNunmapCallback.
(xm_unmap_callback): New function.
(xm_pull_down_callback): Call pre-activate callback only if
parent is the menu bar.
2000-01-25 15:50:53 +00:00
Gerd Moellmann
1f0cf6ee91
(make_menubar): Set XmNresizeHeight and XmNresizeWidth to False.
2000-01-17 09:29:10 +00:00
Gerd Moellmann
d3065ce277
(xm_arm_callback): New function.
...
(make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and
XmNdisarmCallback for buttons (not supported for other widgets).
2000-01-17 09:09:08 +00:00
Paul Eggert
0f0912e644
Add support for large files, plus some locale improvements.
...
* dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c,
xrdb-cpp.c, xrdb.c:
Include <config.h> before any system include files.
* lwlib-Xm.c, lwlib.c:
Do not include <stdlib.h> or <string.h>, as <config.h> does this.
1999-10-19 07:21:16 +00:00
Gerd Moellmann
e9ec3919bc
(make_menu_in_widget, update_one_menu_entry): Use
...
widgets instead of gadgets to be able to set colors.
1999-10-06 23:25:07 +00:00
Gerd Moellmann
968aa0ada4
Add function prototypes.
...
(xm_update_label): Use val->name to look up
a label string from resources.
(all_dashes_p): Removed.
(make_menu_in_widget): Use lw_separator_p. Set Motif separator
type.
(make_menu_in_widget): Set alignment of menu
title after all widgets have been created.
(xm_update_toggle): Add callback xm_generic_callback
instead of xm_internal_update_other_instances.
(make_menu_in_widget): Do help button before managing
children to get it to the right place.
(make_menu_in_widget): Create toggle buttons.
(update_one_menu_entry): Update toggle buttons.
(make_menu_in_widget): Test for menubar widgets
using XmNrowColumnType.
1999-07-21 21:43:52 +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
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
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
Karl Heuer
29a0dc6ce1
(xm_update_menu): Fix loop termination test.
1996-07-13 18:51:11 +00:00
Karl Heuer
0d7ed72012
Undo previous change.
1996-07-07 23:00:30 +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
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
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
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
908ff139f9
Comment fixes.
1996-01-05 00:45:43 +00:00
Richard M. Stallman
86c42dbd6d
(xm_popup_menu): New arg `event'.
1995-08-02 07:14:04 +00:00
Karl Heuer
d111e5ab12
(activate_button, xm_update_cascadebutton): Don't use prototype.
1995-05-20 05:18:42 +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
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
0cb00a4456
(remove_grabs): Use type Widget for `menu'.
1995-04-07 05:44:36 +00:00