view lwlib/lwlib-Xolmb.h @ 17953:96a51be54a7e

(x_make_frame_visible): Call x_set_offset only after mapping the window and accepting input. (x_calc_absolute_position): Do nothing if current position is already for the top-left corner. Handle errors in XTranslateCoordinates. (XTread_socket): Simplify handling of ConfigureNotify events. Always call x_wm_set_size_hint for them. No need to call XTranslateCoordinates here. (x_clear_errors): New function.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 May 1997 06:22:15 +0000
parents ee40177f6c68
children
line wrap: on
line source

/* An OLIT menubar widget, by Chuck Thompson <cthomp@cs.uiuc.edu>
   Copyright (C) 1993 Lucid, Inc.

This file is part of the Lucid Widget Library.

The Lucid Widget Library is free software; you can redistribute it and/or 
modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.

The Lucid Widget Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */

#ifndef LW_MENUBAR_H
#define LW_MENUBAR_H
extern WidgetClass lwMenubarWidgetClass;
typedef struct _lwMenuBarClassRec *lwMenuBarWidgetClass;
typedef struct _lwMenuBarRec *lwMenuBarWidget;
#endif /* LW_MENUBAR_H */