view lwlib/lwlib-XolmbP.h @ 30177:78677e36a8a3

(kbd_buffer_gcpro): Renamed from kbd_buffer_frame_or_window. Now used for all Lisp objects referenced from the input queue. (kbd_buffer_store_event): Always use structure assignment for copying input events. Record all Lisp objects referenced from events in kbd_buffer_gcpro. (kbd_buffer_get_event): Construct Lisp `help-echo' events differently from input events. Test for prefix menu_bar_events and TOOL_BAR_EVENTs differently. Reset all slots used by an input event in kbd_buffer_gcpro to nil. (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose frame_or_window is equal to its arg member as prefix events. (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro used by an input event to nil. (init_keyboard): Use two times the size of the input queue for kbd_buffer_gcpro. (syms_of_keyboard): Likewise.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 13 Jul 2000 14:07:45 +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_MENUBARP_H
#define LW_MENUBARP_H

typedef struct _lwMenuBarClassPart
{
  int ignore;
} lwMenuBarClassPart;

typedef struct _lwMenuBarClassRec
{
  CoreClassPart		core_class;
  CompositeClassPart	composite_class;
  lwMenuBarClassPart	menubar_class;
} lwMenuBarClassRec;

extern lwMenuBarClassRec lwMenubarClassRec;

typedef struct
{
  int empty;
} lwMenuBarPart;

typedef struct _lwMenuBarRec
{
  CorePart		core;
  CompositePart		composite;
  lwMenuBarPart		menubar;
} lwMenuBarRec;

#endif /* LW_MENUBARP_H */