]> code.delx.au - gnu-emacs/blob - lwlib/lwlib-Xm.h
Merge changes from emacs-23 branch
[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; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA. */
20
21 #ifndef LWLIB_XM_H
22 #define LWLIB_XM_H
23
24 #include "lwlib-int.h"
25
26 extern widget_creation_entry xm_creation_table [];
27
28 Widget
29 xm_create_dialog (widget_instance* instance);
30
31 Boolean
32 lw_motif_widget_p (Widget widget);
33
34 void
35 xm_update_one_widget (widget_instance* instance, Widget widget,
36 widget_value* val, Boolean deep_p);
37
38 void
39 xm_update_one_value (widget_instance* instance, Widget widget,
40 widget_value* val);
41
42 void
43 xm_destroy_instance (widget_instance* instance);
44
45 void
46 xm_set_keyboard_focus (Widget parent, Widget w);
47
48 void
49 xm_popup_menu (Widget widget, XEvent *event);
50
51 void
52 xm_pop_instance (widget_instance* instance, Boolean up);
53
54 void
55 xm_set_main_areas (Widget parent, Widget menubar, Widget work_area);
56
57 void
58 xm_manage_resizing (Widget w, Boolean flag);
59
60 #endif /* LWLIB_XM_H */
61