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

learn more… | top users | synonyms

3
votes
1answer
93 views

Can one optimize AutomaticNumbering feature?

If one wants to use the automatic numbering feature of Mathematica, he has to make tags for cells of the type he wants to be referenced to. Then, as soon as he needs to make a reference to the tagged ...
2
votes
1answer
87 views

How can I place gui controls inside Grid? [duplicate]

In all my apps, I am facing a problem about placing the Gui controls inside Grid. For this purpose, I wrote three functions. The first function, ...
-4
votes
0answers
76 views

How can I place gui controls [closed]

So far, depending upon my App manually I made grid and placing all the Gui-Elementsinside the ...
5
votes
1answer
108 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?
0
votes
0answers
89 views

Table formatting in GUIKit [closed]

I am writing a program with the GUIKit` package, but I have a problem with table output. I can't get a mathematical formula in the table (number 1 and 2 in below ...
1
vote
1answer
89 views

How to control dependent PopupMenus?

I created three interdependent PopupMenus with names demographic, region and ...
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 ...
48
votes
2answers
2k 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 ...
4
votes
2answers
189 views

How can I change a Slider's appearance?

I am using Mathematica 9.0 and Windows 7. I want to create a Slider that looks like the following: I tried the following: ...
4
votes
0answers
172 views

How can I change cursor style in InputField?

I want to make an InputField with a horizontal cursor, like this: Note that the blinking cursor should be horizontal and not the mouse pointer! Nevertheless, ...
1
vote
1answer
47 views

Can't see updating performed by NMinimize[…,StepMonitor->(…)] outside of Button in which it's called [duplicate]

I've made a peak-fitting GUI in which I have a "Fit" button that, when pressed, calls NMinimize[...,StepMonitor->(step++)] to minimize a sum of squared ...
0
votes
1answer
51 views

Possible to use Manipulate in GUIRunModal?

Is it possible to use the widget created by Manipulate within GUIRunModal? I intend to run the file using ...
3
votes
1answer
113 views

How to force Pane to always scroll to end of content? [duplicate]

Mathematica seems to know about the actual end of content position in a Pane if given large enough (but not too large$^1$) initial position value. Here, the ...
9
votes
2answers
128 views

Can one affect the appearance of components of a control?

I'd like to control the appearance of the components of a TabView[] control. Such a control appears constructed of Buttons, ...
2
votes
0answers
74 views

how can I set one option value to the another Option of the functions?

I make a package with one Functionnamed as IpopupMenuand also setting the Options to that ...
4
votes
1answer
165 views

Interactively select a row/column of a Grid

I need a simple way to display tabular data (preferably with Grid) and also be able to select a row or column of the table. I've tried different approaches, but I ...
6
votes
2answers
154 views
4
votes
2answers
108 views

How to execute a function each time the slider is dragged?

I've created a function f and a slider: Slider[Dynamic[y],{1,4}] How to execute/call f ...
3
votes
1answer
128 views

How can I create a CDF application while using GUIKit?

I have created a notebook that uses GUIKit to create a user interface. The targeted user does not have Mathematica available so I thought about using the CDF player to convert the file if possible, ...
4
votes
3answers
165 views

How can I create a custom control which evaluates to a list of values or replacements?

I have a set of variables which are used in various places in my calculations (solving a system, initial conditions, etc.). In order to make this easier to deal with, I want to make a control-like ...
6
votes
2answers
276 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 ...
7
votes
2answers
94 views

Appearance in Checkbox does not work

I'm experiencing strange behavior in Checkbox with Appearance: ...
5
votes
3answers
150 views

Self-referential list or table of buttons

How could one create a table or list of buttons, such that clicking on a button removes the button itself from the list?
2
votes
2answers
98 views

How to display only a certain part of the content in a Panel?

I have a Panel of size {850, 400} as myPanel with a Pane of size {450, 400} and four images ...
0
votes
0answers
152 views

Get data from user CDF

I am just starting with mathematica and need to sift through the things which I need for my project. I plan on developing an application that gets electrical system parameters like R,C,phase ...
2
votes
2answers
186 views

How to create a simple interface to get file path and execute some code on it?

I need to create a simple user interface to choose one file in the notebook directory, import it and execute some functions on the imported data. For the first version I created this code: ...
6
votes
1answer
169 views

Interactive Graph Editing with Animation

I want to make a simple interactive user interface like this: Such that when the user clicks on the "Add Edge" button, the edge specified by from and to fiels is added to the graph. The new graph ...
3
votes
1answer
90 views

Changing the contents of a TextCell according to the user input of another TextCell

Is it possible to change TextCells in the following code in that way, that the TextCell "profile starts at x =" changes to "profile starts at y =" and at the same time the TextCell "measurement starts ...
1
vote
1answer
144 views

How to make a drop-down selector?

How to make a drop-down selector UI component? Something that looks like this
2
votes
2answers
117 views

How can a Button be shifted to perform its action

I have a Panel with 4 Inputfields and a Button. When a ...
8
votes
2answers
119 views

Make the selection become the button you click

Let's assume I want a button that, when you click it, get the cell that contains it selected. This approach won't work, it selects the cell containg the selection previous to the click. ...
2
votes
2answers
119 views

Evaluation of Notebook chosen by FileNameSetter

Please consider the following: I have created a GUI where I can choose the path of a notebook (which I need for later calculation) via ...
3
votes
1answer
96 views

Right aligning a button in a dialog

What is the best way to right align a button in a dialog window, regardless of the window's WindowSize? Here is a resizable window to test on: ...
0
votes
2answers
490 views

Basic Dynamic Interface Programming that returns variables to nb functions

I have a dynamic module that contains some basic PopupMenu's and Buttons but also need to use the variables returned from these buttons and PopupMenu's in my nb functions outside of this ...
1
vote
1answer
129 views

How to add label to a plot in PopupMenu which does not change the plot size

I am facing a problem in adding a label to a PopupMenu. I have two plots a and b of same size. But when I am adding label to them in ...
17
votes
1answer
343 views

How can I effectively performance-profile Dynamics?

How to optimize performance-wise a complex dynamic expression (like a GUI) with lots of dynamically updated components, which require different update-frequencies? I was hesitant to ask this question ...
4
votes
2answers
190 views

How can one popup menu be used to add another?

I'm trying to construct a GUI that changes depending on what's chosen in certain popup menu's. For example: The default state of the menu is condition one, but when the first PopupMenu is selected ...
11
votes
1answer
199 views

How to make an unremovable modal window?

Is there any way to securely stick a notebook window (e.g. a dialog) on screen that it cannot be closed/removed/hidden by any of the standard OS shortcuts, like AltF4 or AltTab under Windows? The ...
8
votes
2answers
226 views

Strange behavior of CreateDialog's WindowSize option

Compare the two dialog windows, created by the same code except in the first WindowSize has a value while I omit it in the second one. Note, that ...
6
votes
1answer
152 views

Problems with visual update in GUI

Consider the following. When clicking in "Browse" and then choosing a file, the path will remain the original one and won't change to the one of the file I chose: ...
6
votes
2answers
643 views

Basic questions about GUI

I have created the following simple GUI: ...
21
votes
4answers
597 views

Question about collections of custom GUI controls for Mathematica

Background: I have only recently begun programming GUIs in Mathematica, so I have a continuous need for custom controls. I needed a scrollable list control and with the help of Google I found a ...
7
votes
1answer
179 views
6
votes
1answer
99 views

When are EvaluationNotebook[] and ButtonNotebook[] different?

I am looking for a concrete code example where EvaluationNotebook[] and ButtonNotebook[] will return different results. The ...
8
votes
1answer
74 views

How can I defer the loading of a PopupView control until it is used?

Background: I have several PopupViews of which the loadtime adds to the startup time of a program. To improve the perceived performance I want to defer the loading ...
16
votes
3answers
719 views

Generating graphs interactively (GUI)

I want to create graphs interactively using a GUI. I thought of using a ClickPane[] environment. The code I have (in part borrowed from the Documentation) works ...
4
votes
1answer
91 views

What it is the best way to enforce that only one CreateDialog window can be created?

Background. See question Moving controls from Manipulate to a Palette ( or similar GUI object ). As suggested in the answer to this question I use a CreateDialog window to group and handle controls ...
7
votes
2answers
160 views
10
votes
3answers
195 views

In InputField, how to prevent Shift-Return from generating a new cell?

When running the following in a notebook (not a deployed CDF file), it can sometimes be annoying that accidentally pressing Shift-Return breaks out of the user ...
9
votes
1answer
171 views

How to create a notebook element that can replace itself?

I would like to create a notebook element that can replace itself. Here's an example to illustrate: ...

1 2