view lwlib/lwlib-Xm.h @ 24999:bd6d15dc5a10

(EmacsFrameSetCharSize): Take widget's border width into account. (set_frame_size): Use FRAME_SCROLL_BAR_COLS to determine vertical_scroll_bar_extra. (EmacsFrameSetCharSize): Ditto. (EmacsFrameDestroy): Remove call to free_frame_faces; it's also called from x_destroy_window. Since this function is called from X, freeing stuff allocated with xmalloc is dangerous here, anyway. (widget_store_internal_border): Return void. (create_frame_gcs): Don't allocate relief GCs. (setup_frame_gcs): Don't change relief GCs. (setup_frame_gcs): Initialize relief GC's to line width 1; remove references to relief_gc_line_width. (create_frame_gcs): Create GC's for relief drawing. (setup_frame_gcs): Initialize them. (EmacsFrameDestroy): Free them. (set_frame_size): Double trunc_area_extra. (EmacsFrameSetCharSize): Ditto. (set_frame_size): Set it. (EmacsFrameSetCharSize): Ditto.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 21 Jul 1999 21:43:52 +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 */