Article View: gnu.epoch.misc
Article #1993HERE IT IS! Menu support for Epoch
From: 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
Technical Details
Message-ID:
<9104192002.AA00977@wsqtba..steinmetz>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!gatech!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,5ed99c14d98047ea,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1991-04-19 20:06:26 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!gatech!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: kinstrey@wsqtba.crd.ge.com Newsgroups: gnu.epoch.misc Subject: HERE IT IS! Menu support for Epoch Message-ID: <9104192002.AA00977@wsqtba..steinmetz> Date: 19 Apr 91 20:02:44 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 47