Mercurial > emacs
view lwlib/lwlib-XolmbP.h @ 30421:544a9b8ebb8d
(popup-menu): Run the keymap through indirect-function,
in case it was defined with define-prefix-key. If the menu is a
list of keymaps, look up the binding of user's choice in each one
of the keymaps.
(mouse-popup-menubar): If the global and local menu-bar keymaps
don't have a prompt string, create one and insert it into the
keymap. Don't barf if current-local-map returns nil.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 24 Jul 2000 15:16:29 +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 */