16
votes
Accepted
How to pause a running evaluation (and continue it later)
Prior to version 10 of Mathematica, there was a menu option Evaluation / Interrupt Evaluation... with the hot-key ALT-, (comma). This would temporarily suspend the current evaluation in progress.
...
14
votes
Accepted
C++ interface to large project
This cannot be answered very well without knowing your C++ library much better.
As you said, you have a choice between MathLink and LibraryLink. Generally, I recommend LibraryLink because:
It runs ...
13
votes
How can I get a nice progress indicator for video processing when working in a standalone kernel?
Easy! Just set Progress`$ConsoleSupport=True. You can set this in your init.m and have it always on.
Now, the usual word of warning about undocumented ...
13
votes
How is the zoom tooltip in the "Coordinates Tool" implemented?
Here's a proof-of-concept demonstration of how to build your own tooltip with reasonable performance:
...
10
votes
Web search browser in Mathematica
I started on this, after building out a search paclet for this answer.
The basic idea is to simply provide nicer access to the basic underlying paclet. The code all lives here.
We can use it like so:...
10
votes
Accepted
Can I stop the python interpreter appearing?
The short-cut > at the beginning of a line to start an external code cell is set as part of style definitions for Input cells:
...
10
votes
How is the zoom tooltip in the "Coordinates Tool" implemented?
Answering the first part of my question (thanks to Lukas Lang for pointing me in the right direction!).
The source code for the Image Assistant Toolbar that appears when you select ...
9
votes
Accepted
How can I customize my menus without reloading MenuSetup.tr?
I do this differently to @MB1965.
SetOptions[$FrontEndSession,
MenuConfigurationFile -> "path/to/alternative/MenuSetup.tr"
];
and then to restore the ...
9
votes
How can I customize my menus without reloading MenuSetup.tr?
Real-time Reloading of Menus
The answer to the first one is very simple. After you make changes to your MenuSetup.tr file simply call
...
9
votes
Accepted
8
votes
Accepted
Dialog box that "times out" if the user doesn't respond
I'm honestly not entirely satisfied with this answer, but it should get you on the right track:
...
8
votes
Accepted
How can I create a "Run all code" button in a notebook?
Here is some code I wrote to make a palette that I use a lot. Maybe the it will work you, or at least give you ideas on how to do it.
...
7
votes
Accepted
When calculating, the taskbar icon will not change in Mathematica 12.2
It's just no longer the default. You can turn it back on via ...
6
votes
Accepted
Better alternatives for GUIkit or dialogboxes?
I can understand you might be more comfortable with GUIKit if you have done GUI development with other GUI frameworks. But in Version 6, the Mathematica front-end became a programable GUI with the ...
6
votes
Accepted
6
votes
Accepted
Why does Mathematica's interface freeze when scrolling to the evaluating cell?
So here is my guess, based on information provided and on past experience. Which is to say, I'm describing a scenario I have often encountered that looks like but might not actually be your situation.
...
Community wiki
5
votes
Accepted
Robust line numbers in Mathematica notebook
You can try the following (evaluate the code once at the beginning of your session):
...
5
votes
Accepted
5
votes
Accepted
Using SPI on Raspberry directly
An extended comment rather than an answer at this point, subject to additional information from the OP.
Yes, you can interact with chips that use SPI communication through Mathematica, but as of yet, ...
5
votes
Accepted
Time stamps for In[] and Out[]
You can use Cell | Show Expressionfrom the menu to see the time stamps associated with a cell. If you want to do this programmatically, you could use ...
4
votes
Is it possible to create and insert a bivariate colormap into ColorData?
If you take a cropped image of your target colormap (the variable r below), you could just interpolate it:
...
4
votes
"Hiding" cells until the first cell is evaluated
Here's an option that allows you to work from the stylesheet and avoid any of the pernicious issues with Dynamic and slow notebooks.
The trick will be to use the <...
4
votes
Accepted
Need help in creating a GUI
Here is a start on a simple and reasonable although not optimal way of making your interface.
...
4
votes
Accepted
Controlling Manipulate in cloud deployment
Read examples in docs carefully (CloudDeploy, FormFunction, FormPage) and see related tutorials. Two options.
1) Outsource control to FormFunction / FormPage:
...
4
votes
Autocomplete popup slow (>= v12.2)
In case anyone is still interested, I had the same problem in version 12.3, and solved it by going to Preferences/Advanced/Open option inspector/Editing options/Private editing options/...
4
votes
Accepted
Making a list of variables
What we have here is a logical situation in which an inner UI is to be generated by the value of an outer variable. So I would prefer to build the inner and outer components separately.
...
3
votes
How to hide "input" while using ButtonBar?
You can add following code to the cell whose code you want to hide:
SetOptions[EvaluationCell[], CellOpen -> Dynamic[Not@codehide]];
This will make it hidden ...
3
votes
How to hide "input" while using ButtonBar?
You can select the cell with the code, go to Menu/Cell/CellProperties and uncheck "Open". In this case, your code cell will always be closed.
In addition, do not write the string:...
3
votes
Accepted
How to use tab control for Manipulate when the number of options exceeds 5?
Provide the type of control as input to override the default ones:
Manipulate[plot[i], {i, Range[10], SetterBar}]
Alternatively,
...
3
votes
Accepted
Linking multipage forms together
I've solved my problem! This is the setup that worked for me:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
interface × 167front-end × 25
dynamic × 19
gui-construction × 18
notebooks × 17
manipulate × 15
interactive × 14
user-interface × 12
customization × 8
button × 7
dialog-window × 7
graphics × 6
evaluation × 6
keyboard × 6
mac-os-x × 6
inputfield × 5
color × 4
cells × 4
cloud-deploy × 4
bugs × 3
programming × 3
formatting × 3
date-and-time × 3
grid-layouts × 3
interoperability × 3