include/Mcde/GlobalMenu.h is the protocol (selection _MCDE_BAR_S<n>, _MCDE_MENU on the program's window, _MCDE_ACTIVE_MENU on the root, client messages to activate and refresh). libDtSvc's McdeGlobalMenu.c, started by DtInitialize, finds every XmMenuBar with an Xt create hook, hides it while the bar runs and writes its tree; a click in the bar calls the button's own callback -- no Motif patch, every CDE program takes part. The text form is McdeMenuModel.c with its test (PASS test_menumodel). dtbar: M menu (dtaction Dtstyle, Dtterm, Dtfile, LockDisplay, ExitSession), the program's menus, the clock; started by Xsession.d/0090.dtbar. The Mcde headers are installed. Tested on Xvfb with dtwm and dtcalc: its menu bar leaves its window, Options and Help are in the bar, Options > Memory Registers opens dtcalc's dialog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
635 B
Makefile
14 lines
635 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
SUBDIRS = backdrops icons dsdm dtmail dtpad dtfile dtwm dtlogin \
|
|
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
|
|
dtcalc dtaction dtspcd dtscreen dtksh dtcm dtsearchpath \
|
|
dtappbuilder palettes dtappintegrate dtprintegrate dtconfig \
|
|
dtcreate dtprintinfo fontaliases dtdspmsg ttsnoop dtimsstart \
|
|
dtpdm dtsr dtpdmd dtinfo types tttypes util dtopen localized \
|
|
dthelp dtdocbook dtlaunch dtbar
|
|
|
|
install-data-hook:
|
|
-if [ $(CDE_INSTALLATION_TOP)/bin != $(bindir) ];then \
|
|
cd $(DESTDIR)$(CDE_INSTALLATION_TOP) && $(LN_S) $(bindir) bin ; fi
|