Thread View: gnu.epoch.misc
1 messages
1 total messages
Started by kinstrey
Fri, 19 Apr 1991 20:02
HERE IT IS! Menu support for Epoch
Author: kinstrey
Date: Fri, 19 Apr 1991 20:02
Date: Fri, 19 Apr 1991 20:02
47 lines
2270 bytes
2270 bytes
I have created some libraries for creating pop-up and
pull-down menus in Epoch. The menus are just additional
Epoch screens which contain a buffer of buttons, and
the screen is sized to the text, so that the screen
appears to be a menu. The display behavior is determined
by what type it is.
I consider a "pop-up" menu to be one that stays displayed
even after a mouse-up has occurred. That is, the menu is
(can be) taken down once a button has been selected by
a mouse-down.
I consider a "pull-down" menu to be one that is displayed
when a mouse-down on a button occurs, and is
taken down when a button has been selected by a mouse-UP.
A pull-down is like the Macintosh menu bar behavior.
These menus DO NOT communicate with the window manager.
They are simply a menu interface to running whatever
via Epoch.
With that explained, the next 4 files are the libraries
used to manipulate menus.
1) menus.el : The "core" library. Contains the basic
menu creation and movement facilities.
pull_down_menus.el and pop_up_menus.el
load menus.el.
2) pop_up_menus.el
: Type ESC-x pop-up-menu-help for details.
3) pull_down_menus.el
: Type ESC-x pull-down-menu-help for details.
4) colors.el
: loads the "standard" color set for X. If
you are on a monochrome system, the color
names will map themselves to white or black.
The demo files can be run by doing:
ESC-x load-file pull_down_demo.el (or pop_up_demo.el)
and then:
ESC-x startup
Comments, questions, etc. can be sent to:
kinstrey@wsqtba.crd.ge.com
kinstrey@crd.ge.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads