Tagged Questions
3
votes
1answer
57 views
Question about usage of Style as Dynamic object
I saw a Dynamic snippet in this answer, which wrote
...
5
votes
1answer
72 views
Manipulate slider unresponsive after suspend in Linux
I've tested Linux Mathematica versions 7-9 on various Linux distributions, with identical problem: after suspend/resume cycle my Manipulate controls (i.e. sliders&buttons) appear unresponsive, ...
11
votes
1answer
459 views
How to work around Mathematica hanging when showing a large SparseArray?
Note: This is fixed in 9.0.1.
In Mathematica 9, if I display any large SparseArray object in the default way (which looks something like ...
7
votes
0answers
217 views
How to improve these WASD + mouse look 3D controls?
Insipred by this question and the corresponding answer I've written a code for full-screen exploration of 3D scenes using standard WASD and mouse look controls. Here it is.
...
4
votes
1answer
137 views
Why does Dynamic output cause CPU usage when onscreen?
I write such a line in Mathematica:
{Slider[Dynamic[s]], Dynamic[f[x_] := s*x]}
After evaluation, the CPU immediately runs at full power. And if you scroll the ...
3
votes
1answer
126 views
Dynamically link cell content in Mathematica?
Is it possible to dynamically link the content of two cells? For example, can I set up a Notebook with two text cells that display the same value, and if the user types in one the other updates, etc.? ...
4
votes
1answer
194 views
Emulating a button push or a mouse click with Mathematica code
I need to perform a long action with a button. I tried setting the DynamicEvaluationTimeout, but it seems it doesn't work for me. So I want to try using several ...
3
votes
1answer
148 views
Using DynamicWrapper with multiple Dynamics with different TrackedSymbols
I have two variables A and B that are linked such that changes to one causes the other to be updated to the same value. However at each change I'd also like to know which variable cause the update to ...
6
votes
2answers
155 views
How to access off-cell mouse position inside an EventHandler?
Consider the following example. First, I print the dynamically updated value of the actual position of the mouse, then I print pt, which is the same but is only ...
8
votes
3answers
154 views
Intermediate display similar to PrintTemporary
Using MMA we often come across situations like the following
cityLIST = CityData[#, "Name"] & /@ CityData[];
This code if you evaluate will emit some display ...
12
votes
2answers
225 views
How can I make an InputField[] with a proper newline/carriage return?
The return key does not work as expected in an InputField, how can I overcome this?
35
votes
3answers
553 views
How can I set up a versioning system within a notebook?
Since the Frontend crashes a lot, for important work it would be nice to have the notebook automatically branch and save itself every so many minutes.
For instance, commands like ...
10
votes
2answers
220 views
17
votes
1answer
283 views
How do I find all the possible events that work with EventHandler?
The EventHandler documentation, More Information section, lists 5 mouse events:
...
0
votes
0answers
55 views
InputString in Button freezes Mathematica [duplicate]
Possible Duplicate:
Why does Button[ … , ChoiceDialog[] ] freeze the front end?
Warning: the following code may freeze your session, as it does mine. I have to wait for the dialog ...
2
votes
0answers
183 views
Front-end glitch when interacting with dynamic content
This is now bugging me too much to ignore it anymore. When I interact with a notebook that has dynamic content, for example moving a slider, Mathematica regularly brings other open notebook windows to ...
6
votes
2answers
237 views
Detecting double click events
Is there a way to detect double click events? I did not find anything on the doc page of EventHandler.
Use case: I want to re-implement the ...
8
votes
3answers
231 views
How to anchor a Pane's scroll position to the bottom?
Suppose I have a Pane containing some dynamic text, for example that is being updated by a logging function.
...
10
votes
5answers
475 views
Using DynamicModule variables outside the DynamicModule
Take the following example for hiding/showing a notebook through a Checkbox:
...
19
votes
2answers
490 views
What are the most common (usual) ways to make palettes with non-trivial functionality?
What are the best (most robust and most convenient) ways to create palettes that can be installed permanently (using Palettes -> Install Palette...) and are safe ...
11
votes
3answers
201 views
Why do buttons with ChoiceDialog freeze the front end?
Pressing the button below will freeze my front end. An unpainted white dialog box comes up, then it completely freezes, and I need to forcibly kill the front end. CPU usage stays at zero during ...
