view lwlib/lwlib-utils.h @ 17662:9b1b6974b36f

(minibuffer-text-before-history): New variable. (minibuffer-history-initialize): New fn, on minibuffer-setup-hook. (next-history-element, previous-matching-history-element): Initialize minibuffer-text-before-history. (next-history-element): Use minibuffer-text-before-history as "position 0" of the history list. Use minibuffer-default as position -1, if it is non-nil. Simplify error logic for beginning and end of history. (set-variable): Delete old definition (duplicate).
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 May 1997 11:54:37 +0000
parents 118a6ad56ae0
children 6ed38ee607e9
line wrap: on
line source

#ifndef _LWLIB_UTILS_H_
#define _LWLIB_UTILS_H_

void XtNoClearRefreshWidget (/* Widget */);

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

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

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

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

void XtSafelyDestroyWidget (/* Widget */);

#endif /* _LWLIB_UTILS_H_ */