Mercurial > emacs
annotate lwlib/lwlib-Xm.h @ 60816:f14d2a34da27
(calc-embedded-original-modes): New variable.
(calc-embedded-save-original-modes)
(calc-embedded-restore-original-modes): New functions.
(calc-do-embedded): Save original modes when entering embedded mode
and restore when leaving embedded mode.
(calc-embedded-modes-change): Change the value of
calc-embedded-original-modes to reflect permanent changes.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Tue, 22 Mar 2005 16:12:57 +0000 |
parents | 5b0e15f7d88d |
children | 23a17af379b1 30ad2795fdab |
rev | line source |
---|---|
60666
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
1 /* The lwlib interface to Motif widgets. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
2 Copyright (C) 1994, 2000 Free Software Foundation, Inc. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
3 Copyright (C) 1992 Lucid, Inc. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
4 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
5 This file is part of the Lucid Widget Library. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
6 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
7 The Lucid Widget Library is free software; you can redistribute it and/or |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
8 modify it under the terms of the GNU General Public License as published by |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
9 the Free Software Foundation; either version 2, or (at your option) |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
10 any later version. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
11 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
12 The Lucid Widget Library is distributed in the hope that it will be useful, |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
15 GNU General Public License for more details. |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
16 |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
18 along with GNU Emacs; see the file COPYING. If not, write to |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
20 Boston, MA 02111-1307, USA. */ |
5b0e15f7d88d
Add missing copyright and license notice.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
52401
diff
changeset
|
21 |
5626 | 22 #ifndef LWLIB_XM_H |
23 #define LWLIB_XM_H | |
24 | |
5627
7ff2d6076466
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
25 #include "lwlib-int.h" |
5626 | 26 |
27 extern widget_creation_entry xm_creation_table []; | |
28 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
29466
diff
changeset
|
29 Widget |
29466 | 30 xm_create_dialog __P ((widget_instance* instance)); |
5626 | 31 |
32 Boolean | |
29466 | 33 lw_motif_widget_p __P ((Widget widget)); |
5626 | 34 |
35 void | |
29466 | 36 xm_update_one_widget __P ((widget_instance* instance, Widget widget, |
37 widget_value* val, Boolean deep_p)); | |
5626 | 38 |
39 void | |
29466 | 40 xm_update_one_value __P ((widget_instance* instance, Widget widget, |
41 widget_value* val)); | |
5626 | 42 |
43 void | |
29466 | 44 xm_destroy_instance __P ((widget_instance* instance)); |
5626 | 45 |
46 void | |
29466 | 47 xm_set_keyboard_focus __P ((Widget parent, Widget w)); |
5626 | 48 |
49 void | |
29466 | 50 xm_popup_menu __P ((Widget widget, XEvent *event)); |
5626 | 51 |
52 void | |
29466 | 53 xm_pop_instance __P ((widget_instance* instance, Boolean up)); |
5626 | 54 |
9091 | 55 void |
29466 | 56 xm_set_main_areas __P ((Widget parent, Widget menubar, Widget work_area)); |
9091 | 57 |
9225
9e28a8ef9cad
Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents:
9091
diff
changeset
|
58 void |
29466 | 59 xm_manage_resizing __P ((Widget w, Boolean flag)); |
9225
9e28a8ef9cad
Declare xm_set_main_areas() and xm_manage_resizing().
Paul Reilly <pmr@pajato.com>
parents:
9091
diff
changeset
|
60 |
5626 | 61 #endif /* LWLIB_XM_H */ |
52401 | 62 |
63 /* arch-tag: 61561304-c146-437b-8ed3-dc33818703c6 | |
64 (do not change this comment) */ |