Initial git import
[sxemacs] / src / ui / lwlib / lwlib-utils.h
1 #ifndef INCLUDED_lwlib_utils_h_
2 #define INCLUDED_lwlib_utils_h_
3
4 void destroy_all_children(Widget widget);
5 void XtNoClearRefreshWidget(Widget);
6
7 typedef void (*XtApplyToWidgetsProc) (Widget, XtPointer);
8 typedef void *(*XtApplyUntilToWidgetsProc) (Widget, XtPointer);
9
10 void XtApplyToWidgets(Widget, XtApplyToWidgetsProc, XtPointer);
11 void *XtApplyUntilToWidgets(Widget, XtApplyUntilToWidgetsProc, XtPointer);
12
13 Widget *XtCompositeChildren(Widget, unsigned int *);
14
15 /* returns True is the widget is being destroyed, False otherwise */
16 Boolean XtWidgetBeingDestroyedP(Widget widget);
17
18 void XtSafelyDestroyWidget(Widget);
19
20 #ifdef USE_DEBUG_MALLOC
21 #include <dmalloc.h>
22 #endif
23
24 #endif                          /* INCLUDED_lwlib_utils_h_ */