view lwlib/lwlib-Xm.h @ 24092:d98712ec1252

(find-buffer-file-type-coding-system): Use default-buffer-file-coding-system when file doesn't exist (and isn't covered by a special case) instead of forcing undecided-dos against the user's wishes. (direct-print-region-helper): New function based on direct-print-region-function; sends data to specified printer port without further translation. Recognize and handle specially the standard `print' and `nprint' programs, as well as `lpr' and similar programs. Only write directly to the printer port if no print program is specified. Work around a bug in Windows 9x affecting Win32 version of Emacs by invoking command.com to write to the printer port instead of writing directly. (direct-print-region-function): Use direct-print-region-helper to do most of the work. (direct-ps-print-region-function): New function; analogue of direct-print-region-function for ps-print. (ps-lpr-command): Comment out setq; leave as example usage. (ps-lpr-switches): Ditto.
author Andrew Innes <andrewi@gnu.org>
date Sun, 17 Jan 1999 19:00:24 +0000
parents 3b584c9b5e4a
children 6ed38ee607e9
line wrap: on
line source

#ifndef LWLIB_XM_H
#define LWLIB_XM_H

#include "lwlib-int.h"

extern widget_creation_entry xm_creation_table [];

Widget 
xm_create_dialog (/* widget_instance* instance */);

Boolean
lw_motif_widget_p (/* Widget widget */);

void
xm_update_one_widget (/* widget_instance* instance, Widget widget,
		      widget_value* val, Boolean deep_p */);

void
xm_update_one_value (/* widget_instance* instance, Widget widget,
		     widget_value* val */);

void
xm_destroy_instance (/* widget_instance* instance */);

void
xm_set_keyboard_focus (/* Widget parent, Widget w */);

void
xm_popup_menu (/* Widget widget */);

void
xm_pop_instance (/* widget_instance* instance, Boolean up */);

void
xm_set_main_areas (/* Widget parent, Widget menubar, Widget work_area */);

void
xm_manage_resizing (/* Widget w, Boolean flag */);

#endif /* LWLIB_XM_H */