view lwlib/lwlib-utils.h @ 88510:d266b8fb8761

(encode_coding_object): Give correct arguments ot pre-write-conversion. Ignore the return value of pre-write-conversion function. Pay attention for the case that pre-write-conversion change the current buffer. If dst_object is Qt, even if coding->src_bytes is zero, allocate at least one byte to coding->destination.
author Kenichi Handa <handa@m17n.org>
date Tue, 14 May 2002 13:03:23 +0000
parents 6ed38ee607e9
children 695cf19ef79e
line wrap: on
line source

#ifndef _LWLIB_UTILS_H_
#define _LWLIB_UTILS_H_

void XtNoClearRefreshWidget __P ((Widget));

typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer));
typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer));

void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer));
void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer));

Widget *XtCompositeChildren __P ((Widget, unsigned int *));

/* returns True is the widget is being destroyed, False otherwise */
Boolean
XtWidgetBeingDestroyedP __P ((Widget widget));

void XtSafelyDestroyWidget __P ((Widget));

#endif /* _LWLIB_UTILS_H_ */