GUI-construction involves everything that is used to programmatically construct a custom graphical user interface under Mathematica.

learn more… | top users | synonyms (2)

39
votes
0answers
500 views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Intro Usually I don't ...
14
votes
2answers
317 views

Tips to move from functional programming to GUI-based applications

Even though this forum has some questions related to Mathematica programming tips I think that we still don't have specific help for those who want to learn to efficiently create GUIs in Mathematica. ...
2
votes
1answer
52 views

Using IF commands in a Dynamic Module

Is there a way to use a functional If command in a DynamicModule? I have a code which runs a car driving up a street using ...
2
votes
1answer
51 views
1
vote
1answer
109 views

Building a interactive application that accepts lists of arbitrary length as inputs

I have the following function (Class Shape Transformation): cst[wl, wu, dz] where wl and ...
6
votes
2answers
72 views

Abort an EventHandler?

How do I stop an EventHandler? I'm trying to allow the user unlimited inputs on the arrow keys UNTIL certain conditions are met, and then stop the ...
17
votes
3answers
1k views

How to set focus of a dialog window?

I have a dialog, which, when pops up, requests input from the user. How can I set the window up that the focus is on the InputField of the new window (i.e. the ...
3
votes
0answers
47 views

Minimap of a notebook? [closed]

I usually code in Atom or Sublime, both of which have a very nice high level outline of the entire file called a minimap. Here's an example: It scrolls with you and highlights the area of the file ...
5
votes
4answers
208 views

How to make a panel disappear?

I would like to make a panel look like a ChoiceDialog. Let's say a have a panel like this: ...
1
vote
1answer
26 views

How to remove the waveform box for midi Sound?

For midi sounds, the bottom box in the DisplayForm is always blank, I'd like to be able to remove it: Sound[{SoundNote["C"], SoundNote["G"]}]
0
votes
1answer
37 views

Type of Dynamic object and GUI-construction for file import [closed]

It's not clear what the Dynamic objects really are. For example, if I define the following x=1; Dynamic[x]; y=Dynamic[x]; we can see that all the three are ...
5
votes
1answer
187 views

What is “MouseDragged”?

Bug introduced in V10.1 or earlier and persisting through V10.4 Print is triggered just by pressing the mouse button. ...
1
vote
0answers
31 views

Is there a simple way to get tooltips to work on the elements of a PopupMenu?

I want my PopupMenu items to be short (codes), with tooltips to provide a longer description if the user hovers over the location. The direct approach, to wrap each item in a Tooltip, does not ...
11
votes
1answer
98 views

Speed up Dynamic for graphical interface

I am trying to create a user interface where I can click on certain points in a set of data and save them into a list that can be used later in my code. The problem is it is currently sluggish. Is ...
0
votes
4answers
128 views

Removing a ProgessIndicator when no longer needed

I have a progress indicator in my Mathematica notebook that I update as various calculations are performed: indicator = ProgressIndicator[Dynamic[progress]]; I ...
3
votes
0answers
32 views

How to identify the program that is running my notebook or CDF file [duplicate]

Is there a way to programatically know which Wolfram product is evaluating a notebook or cdf file: Mathematica, CDF Player, or CDF Player Pro, Wolfram Cloud? I'm currently using $InstallationDirectory ...
14
votes
2answers
293 views

Zoom in on a 2D graph

I have seen many queries on zooming in on plots etc. But I haven't seen any regarding 2D graphs. For eg if I have a graph like Graph[{1->2, 2->3, 3->1}]. ...
3
votes
0answers
62 views

Can one preserve the appearance of the HorizontalGauge?

I use sometimes the HorizontalGauge instead of a slider in Manipulateor instead of the ...
1
vote
3answers
190 views

How to combine Tabview with Dynamic Graphic to change the colour of a polygon

How does one get TabView to specify the colour of the Polygon? How does one put a label on ...
4
votes
1answer
151 views

Rotating a contour plot

I am working with some students on transforming conic sections by rotation of axes. I would like to create a simple Manipulate where I plot the before and after ...
12
votes
1answer
202 views

How to see a code preview (in Experimental`Explore[] or related GUI)

I have been messing around with built in Experimental`Explore[] function. You can call the function in Mathematica yourself to see what it looks like. It is a GUI ...
21
votes
2answers
491 views

If I have a very large Popup Menu list how can I make that searchable?

Imagine that you have a PopupMenu's list that requires a lot of scrolling through the selections. Is there a way to create a control that will only display a ...
14
votes
1answer
170 views

How to make a dynamic nested menu?

There is no dynamic controller that can represent a hierarchical menu structure: ActionMenu can only handle flat action lists. Thanks to Kuba, we know a lot about ...
94
votes
2answers
9k views

How to manipulate 2D plots?

When it comes to visual analysis, large datasets or data with intricate internal details often makes plotting in 2D useless, as the outcome is either just a fraction of the full dataset, or no details ...
1
vote
2answers
43 views

Can TabView be modified to show images for navigation instead of vector art or text?

I have see code for TabView in the doc's that provide something close to what I need: ...
9
votes
1answer
203 views

What is FrontEnd`AttachedCell?

Perhaps it's not accessible from the front end, but what is this so-called attached cell? ...
3
votes
2answers
95 views

How to make ActionMenu's menu appear with one mouseclick and disappear with a second?

How do I make ActionMenu's menu appear with one mouseclick of the button and disappear with a second consecutive click on the same button? I would like to be able to click on an ...
1
vote
2answers
346 views

TabView: Reset some dynamic variable on tab selection

Given a TabView panel like this one TabView[{ DynamicModule[{x = False}, {Checkbox[Dynamic[x]], Dynamic[x]}], "foo"}] I ...
6
votes
1answer
218 views

Improving Pop-Up Workspace in Mathematica

Despite the recent improvements to Mathematica's statistical/data analysis tools it still doesn't have a built-in workspace interface for organizing and interacting with user defined ...
2
votes
2answers
68 views

How can I use an InputField value as a variable name to save to?

I'm trying to save some settings and results from Manipulate, and I want to be able to save them to different variable names. The code I have is something like ...
2
votes
1answer
46 views

IntervalSlider MinIntervalSize dependent on another control

I would like to achieve the effect of the DynamicModule below using a Manipulate. Several of my attempts failed. I could not get MinIntervalSize to recognize the dynamic variable. Is is possible to ...
7
votes
2answers
115 views

How to make a notebook take action whenever a particular symbol is defined or redefined?

For teaching purposes, I want to create a Mathematica notebook that will "notice" when the user defines or redefines a variable or function of a particular name, so that it can check the value and ...
6
votes
2answers
187 views

How to write 1.0 in InputFields with ContinuousAction and Number constraint

With the concept of user responsiveness in mind, I’ve tinkered a couple of small apps that are supposed to be eh… responsive, i.e. calculating without having to press enter. They all rely on ...
2
votes
1answer
101 views

Building a two-player game

I would like to make a MMA version of this game. Modifying @belisariusisforth's code from this answer, I get ...
2
votes
3answers
101 views

ClickPane that shows or hides controls when clicked

I am trying to modify the parameters of a system by clicking on its graphics. I am using ClickPane with DialogInput. A code ...
4
votes
2answers
162 views

Why does CreatePalette break my code?

I wrote some code to monitor the tasks that I'm doing - looks like this: Now it works just fine, but as soon as I wrap it up in palette it dies: Nothing updates.... I know there must be an easy ...
7
votes
1answer
206 views

Is it possible to embed a notebook as a panel in a java GUI?

I'd like to create a GUI that displays a tree, some text boxes, buttons, and then as a panel, a fully-functional notebook. Is that possible?
8
votes
3answers
819 views

How can I set the background color to the Popupmenu?

I want to set the Background color of a PopupMenu to blue. I already searched in the documentation center, but I didn't find any ...
12
votes
2answers
461 views

Creating “detached” plots

Is it possible to create detached interactive plots in Mathematica like those in Matlab, Jupyter (IPython), rather than inline ones? This is interactive GIF from Rodeo IDE for Python as an example, ...
-2
votes
1answer
97 views

How to make a ProgressIndicator span inside a grid?

Setting ImageSize -> Full in the ProgressIndicator makes the indicator extend to fill up the width of the notebook. But I have one inside a grid, so how can I ...
1
vote
1answer
68 views

Update an application on the click of a Button

I am finishing my first program in Wolfram Mathematica 10 and if I have almost completed is essentially thanks to this valuable forum soon where I will try to help too. Basically, now I have this ...
4
votes
1answer
43 views

Pressing a Button aborts the evaluation [duplicate]

I'm doing a program in Mathematica 10 and I need to use different buttons like Button["Start", Module[{}, 'routine']] It all works wonderfully when the routine ...
1
vote
1answer
48 views

Construct a button to start a routine [duplicate]

When executing Button ["Print" Print[1]] you get a button that, if pressed, prints to the screen 1. What I would like to have is ...
0
votes
0answers
125 views

Piping StandardForm from within GUI

I am working on a GUI project where I need to pipe a string I constructed in Mathematica into an external program. For example ...
3
votes
1answer
116 views

JSON Expandable/Collapsible Fields with OpenerView

When you have a deeply nested hierarchical JSON structure, tools like JSON Editor Online help a lot to get an overview of the structured data at various levels. In this way you control the ...
6
votes
3answers
264 views