]> code.delx.au - gnu-emacs/blob - lwlib/lwlib-Xm.h
Fix shr.el/image build problem
[gnu-emacs] / lwlib / lwlib-Xm.h
1 /* The lwlib interface to Motif widgets.
2 Copyright (C) 1992 Lucid, Inc.
3
4 This file is part of the Lucid Widget Library.
5
6 The Lucid Widget Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 1, or (at your option)
9 any later version.
10
11 The Lucid Widget Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
18
19 #ifndef LWLIB_XM_H
20 #define LWLIB_XM_H
21
22 #include "lwlib-int.h"
23
24 extern widget_creation_entry xm_creation_table [];
25
26 Widget
27 xm_create_dialog (widget_instance* instance);
28
29 Boolean
30 lw_motif_widget_p (Widget widget);
31
32 void
33 xm_update_one_widget (widget_instance* instance, Widget widget,
34 widget_value* val, Boolean deep_p);
35
36 void
37 xm_update_one_value (widget_instance* instance, Widget widget,
38 widget_value* val);
39
40 void
41 xm_destroy_instance (widget_instance* instance);
42
43 void
44 xm_set_keyboard_focus (Widget parent, Widget w);
45
46 void
47 xm_popup_menu (Widget widget, XEvent *event);
48
49 void
50 xm_pop_instance (widget_instance* instance, Boolean up);
51
52 void
53 xm_set_main_areas (Widget parent, Widget menubar, Widget work_area);
54
55 void
56 xm_manage_resizing (Widget w, Boolean flag);
57
58 #endif /* LWLIB_XM_H */