view lwlib/lwlib-utils.h @ 20535:3094e3fd9764

(unshow_buffer): Set PT with TEMP_SET_PT_BOTH. (Fset_window_buffer): Use set_marker_both. (Fselect_window, Fscroll_other_window, save_window_save): Likewise. (Fset_window_configuration): Pass p->mark itself to Fset_marker and set_marker_restricted_both. (temp_output_buffer_show): Use set_marker_restricted_both. (window_scroll): Save and restore both kinds of pointers. (Fdelete_other_windows): Rely on vmotion to give bytepos. Use set_marker_both. Use byte positions. (Frecenter): Likewise. (Fmove_to_window_line): Use set_marker_both and Fgoto_char.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 Jan 1998 02:07:14 +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_ */