tl;dr
I'm interested in finding a complete list of the strings that can be passed to FrontEndResource
(I only need the first string, in the cases where two strings would normally be passed)
Full explanation
I've been playing with button appearances recently and I stumbled upon the "FEExpressions"
argument to FrontEndResource
.
This is great as it significantly improves the appearances of the my various interface components, particularly buttons and panels, as many appearances are documented there:
Button[
Style["Orange Button", White],
Appearance ->
FrontEndResource["FEExpressions",
"OrangeButtonNinePatchAppearance"]
]
which generates the following button set:
Or they can be constructed from what's there already:
Panel[
InputField["", String],
Alignment -> Center,
Appearance -> {
"Default" ->
Last@Last@
FrontEndResource["NotebookTemplatingExpressions",
"ButtonDefaultAppearanceCloud"],
"Hover" ->
Last@Last@
FrontEndResource["NotebookTemplatingExpressions",
"ButtonOKAppearanceCloud"]
}
]
I used my standard scraping procedure on the list of them and got a seemingly pretty comprehensive list:
{
"ActivationDialog",
"CellInsertionMenu",
"CloudDialogs",
"CodeCaptionsText",
"CompatibilityToolbarText",
"ContextMenus",
"DeployCDFDialog",
"DrawingToolsDialog",
"DynamicUpdatingToolbarText",
"ExportDialogs",
"FEBitmaps",
"FEExpressions",
"FEStrings",
"FindReplaceDialog",
"GraphicsInspectorDialog",
"HeadersFootersDialog",
"HelpToolbarText",
"HistoryOverviewDialog",
"Image3DEditModeMenu",
"ImageEditModeMenu",
"ImportDialogs",
"InsertCitationDialog",
"LicenseFailureDialog",
"LocalizedBitmaps",
"MathematicaClosingDialog",
"MessageToolbarText",
"MUnitExpressions",
"MUnitStrings",
"NotebookTemplatingBitmaps",
"NotebookTemplatingExpressions",
"NotebookTemplatingStrings",
"PackageToolbarText",
"PreferencesDialog",
"ProductSpecificToolbarText",
"RGBColorValueSelector",
"RGBColorValueSelectorStrings",
"SecurityToolbarText",
"SlideshowToolbarText",
"StylesheetThumbnails",
"StylesheetToolbarText",
"SystemInformationDialog",
"TemplateBoxTooltips",
"VersionedStylesheetToolbar",
"WAStrings",
"WelcomeScreen",
"WolframCloudLoginErrors"
};
Even amongst these there are many things I can't find that I know there are front-end files for, such as the images used in the toolbar buttons:
Button[
Style["Special Button", Black],
Appearance -> {
"Default" ->
FrontEnd`FileName[{"Toolbars"}, "Button.9.png"],
"Hover" ->
FrontEnd`FileName[{"Toolbars"}, "Button-Hover.9.png"],
"Pressed" ->
FrontEnd`FileName[{"Toolbars"}, "DefaultButton.9.png"]
}]
Does anyone know how to find a complete list of FrontEndResource
strings?
Further reading:
Can one effectively edit a Front End Resource that is already loaded?
How to create and use my own *.tr FrontEndResource and FrontEndResourceString files
Comments
Post a Comment