view oldXMenu/EvHand.c @ 57599:da5237eef932

* gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. (xg_frame_cleared): Removed. * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose, xg_find_top_left_in_fixed): Removed. (xg_create_scroll_bar): Put an event box widget between the scroll bar widget and the edit widget. (xg_show_scroll_bar): Show the parent widget (the event box). (xg_remove_scroll_bar): Destroy parent (the event box) also. (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. Move the parent (the event box) widget inside the fixed widget. Move window clear to xterm.c. * gtkutil.h (xg_frame_cleared): Removed. * xterm.c (x_clear_frame): Remove call to xg_frame_cleared (x_scroll_bar_create, XTset_vertical_scroll_bar): Remove arguments left and width to xg_update_scrollbar_pos. (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 19 Oct 2004 16:41:04 +0000
parents e8824c4f5f7e
children 3861ff8f4bf1 8e5779acd195
line wrap: on
line source

#include "copyright.h"

/* Copyright    Massachusetts Institute of Technology    1985	*/

/*
 * XMenu:	MIT Project Athena, X Window system menu package
 *
 * 	XMenuEventHandler - Set the XMenu asynchronous event handler.
 *
 *	Author:		Tony Della Fera, DEC
 *			December 19, 1985
 *
 */

#include "XMenuInt.h"

XMenuEventHandler(handler)
    int (*handler)();
{
    /*
     * Set the global event handler variable.
     */
    _XMEventHandler = handler;
}

/* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
   (do not change this comment) */