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

learn more… | top users | synonyms (2)

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 ...
12
votes
2answers
231 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
56 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
172 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
109 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 ...
1
vote
0answers
72 views
11
votes
1answer
190 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 ...
13
votes
1answer
133 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 ...
20
votes
2answers
460 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 ...
3
votes
1answer
42 views
1
vote
2answers
39 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: ...
3
votes
2answers
86 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 ...
6
votes
1answer
170 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 ...
9
votes
1answer
187 views

What is FrontEnd`AttachedCell?

Perhaps it's not accessible from the front end, but what is this so-called attached cell? ...
2
votes
2answers
62 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
41 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 ...
4
votes
1answer
70 views
2
votes
1answer
93 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
86 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
155 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 ...
-2
votes
1answer
93 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 ...
12
votes
2answers
424 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, ...
1
vote
1answer
66 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
42 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
44 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 ...
2
votes
1answer
102 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 ...
0
votes
0answers
124 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 ...
6
votes
2answers
111 views

RGBColor, ColorSlider and ColorSetter

A single RGBColor expression displays as a little square, showing the color. I just found that this little square is both a tooltip and a button. It seems to be new ...
7
votes
2answers
106 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 ...
0
votes
1answer
83 views
1
vote
2answers
88 views

Ask about the variable and constants in partial derivative in a loop

EDITED I have a function in a list like : func={2(x^2)+x*y+3(y^2)}; I want to have a UI that ask me which parameter (x or y) is a variable in a ...
6
votes
2answers
236 views

Import data from excel and store it permanently in notebook

I am trying to write the code for doing the following: by clicking a button, import specific data from an Excel file which I select through a dialog window; input a name for the imported data set ...
3
votes
1answer
91 views

Assign values to parameters from a list/Matrix using GUI

Assume there is a list like: ma={{L1,r1},{L2,r2}}; I want to convert the ma to a GUI which asks me about the values of ...
4
votes
0answers
83 views

How to avoid the pink background in GUIs without using Quiet

GUIs may generate warnings while internal evaluations are processed. In this example I intentionally introduce a line that will generate a warning. Warnings are useful, so I don't want to quiet them ...
0
votes
1answer
40 views

Behavior of custom file chooser code changes when placed inside DynamicModule

My primary objective is to build a file chooser that aides a user in selecting files into one of two categories. Files can be individually selected, or based on the clicking of a specific checkbox, ...
1
vote
2answers
90 views

How to show system busy during Dynamic with SynchronousUpdating -> False?

For long running evaluations in Dynamic it is recommended that SynchronousUpdating -> False be used to prevent time-out. ...
4
votes
1answer
157 views

How to make a widget float?

Is there an option or way to make a GUIKit window remain in on top of other application's windows? ...
4
votes
1answer
145 views

DynamicModule issues with Refresh, double evaluation, and CDF Player preview

I am in the middle of making a CDF for a calculation of many random variables. I've gone with DynamicModule and have read the documentation plus these posts: 32294 ...
0
votes
1answer
38 views

How can I make a RadioButtonBar that randomizes the choices each time a notebook is opened?

I have the following function for making a RadioButtonBar with randomized choices. The code is ...
2
votes
2answers
69 views

How to combine Toggler and Button?

The Play function defines a toggle button to start and stop: I'm trying to emulate that, but with a single button. I feel like this is a common enough task that this question should be answered ...
0
votes
1answer
63 views

Adding a plot to a DynamicModule

How can I add a Plot or Plot3D to my DynamicModule (on the same panel) without having a negative impact on the original function? I tried different (for me) logical ways to add the Plot function, but ...
2
votes
0answers
66 views

Program hidden beneath an interface in mathematica [duplicate]

I recently wrote a mathematica code that I would like to distribute to some friends. However, I don't want to give away the code. Is there a way that I can hide the code beneath an interface kind of ...
3
votes
1answer
102 views

TabView Alignment problem for content larger than a view area

When content is larger than ImageSize of TabView then the top edge is cut off even with ...
4
votes
1answer
221 views

How to label my training images?

I'm switching over Matlab, but I have a problem. Matlab has a GUI tool called the "Training Image Labeler" (shown below) that I use all the time to label my training data for my computer vision ...
1
vote
1answer
80 views

Dynamically Update both a HorizontalGauge range and the value

I'm developing a demonstration that allows students to explore the location of a point on a number line simultaneously at various scales. I'll show a very simplified version here to get to the nub of ...
0
votes
1answer
53 views

Fine precision control in IntervalSlider

I would like to develop a simple slider for exploring a wide range of intervals on the real line. Is it possible to get the MinimalSize of IntervalSlider to work ...
1
vote
1answer
36 views

Using MatrixForm in a Manipulate

I have declared some lists vAwG = {{{0}, {0}}, {{1}, {1}}}; psi = {0, 1, 2, 3}; vBwB = {{{1}, {0}}, {{0}, {1}}}; and created a function ...
3
votes
0answers
134 views

How to implement a live-searchable table view? [closed]

Everyone with a mobile device is familiar with table views, searchable scrolling tables where rows have multiple elements like images and text, and are populated from some data source. Since a ...
4
votes
0answers
68 views

Are there any rules about style inheritance in Mathematica?

I can style every part of an UI separately. But it is not handy and it would be nice to have list of Heads which are not inheriting at all or even partly. Are there any rules about inheritance? ...
6
votes
2answers
185 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 ...