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