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>
34 lines
520 B
Makefile
34 lines
520 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
# Install the header files
|
|
|
|
nobase_include_HEADERS = Mcde/GlobalMenu.h \
|
|
Mcde/McdeSys.h \
|
|
Dt/Editor.h \
|
|
Dt/TermPrim.h \
|
|
Dt/Term.h \
|
|
Dt/HelpDialog.h \
|
|
Dt/Help.h \
|
|
Dt/HelpQuickD.h \
|
|
Dt/Print.h \
|
|
Dt/Mrm.h \
|
|
Dt/Dt.h \
|
|
Dt/Action.h \
|
|
Dt/Dnd.h \
|
|
Dt/Dts.h \
|
|
Dt/Session.h \
|
|
Dt/Saver.h \
|
|
Dt/Wsm.h \
|
|
Dt/MsgLog.h \
|
|
Dt/ComboBox.h \
|
|
Dt/SpinBox.h \
|
|
Dt/MenuButton.h \
|
|
Tt/tt_c.h \
|
|
Tt/tttk.h \
|
|
csa/csa.h \
|
|
Dt/Info.h \
|
|
Dt/Search.h \
|
|
Dt/Mmdb.h \
|
|
Dt/DtXinerama.h \
|
|
Dt/SvcPam.h
|