view lwlib/lwlib-Xolmb.h @ 38674:8e0b0d76380a

(read_key_sequence): Check that key is an integer before comparing it with quit_char. (add_command_key): Use larger_vector. (read_char_x_menu_prompt): Instead of converting symbol and integer events into conses (EVENT . nil), use (EVENT . disabled) which cannot be confused with legal events. (read_char): When reading from Vunread_command_events, check for events of the form (EVENT . disabled) instead of (EVENT . nil).
author Gerd Moellmann <gerd@gnu.org>
date Fri, 03 Aug 2001 11:36:48 +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 */