Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!spool.mu.edu!cs.umn.edu!uc!shamash!timbuk!marc From: marc@sequoia.cray.com (Marc Bouron) Newsgroups: comp.windows.open-look Subject: Re: OpenWindow submenu Message-ID: <110728.19016@timbuk.cray.com> Date: 14 Mar 91 17:34:53 GMT References: <1991Mar14.160855.9573@math.ufl.edu> Reply-To: marc@sequoia.cray.com (Marc Bouron) Organization: Cray Research, Inc. Lines: 31 In article <1991Mar14.160855.9573@math.ufl.edu>, wang@math.ufl.edu writes: |> Hi, |> |> Can anyboy tell me the way of creating a submenu and a sub-submenu under |> an item of WorkSpace menu? |> |> Thanks. |> Edit your .openwin-menu file (if you have one - if not, copy the one in $OPENWIN/lib). You could then add a chunk like this: "Custom Menu" MENU "Xfig" exec /blah/bin/xfig "Space Invaders" exec $HOME/games/xinv "Custom Menu" END Your custom menus _can_ be nested, so you _can_ have sub(sub)menus. One of the OpenWindows books says a bit more on the subject... [M][a][r][c] ################################################################################ # # marc@sequoia.cray.com # . . # # Marc CR Bouron # M.Bouron@cray.co.uk (ARPA) # _|\ /|_ # # Cray Research (UK) Ltd. # M.Bouron@crayuk.uucp (DOMAIN) # (_|_V_|_) # # +44 344 485971 x2208 # M.Bouron@uk.co.cray (JANET) # | | # # # ...!ukc!crayuk!M.Bouron (UUCP) # # ################################################################################