Questions tagged [gui-construction]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Interrupt a fit/minimization without interrupting overall evaluation

I have not tried programming this myself yet, so I do not have any example code. Mostly, I am looking for advice on whether I am going to be on the right track if I try something. Imagine a ...
2
votes
3answers
92 views

How can I make interdependent Checkboxes?

Consider the following code, where I have a list of variables, each with different specified units. In my real case, these lists are not fixed, hence the surrounding Dynamic and the general definition ...
1
vote
1answer
35 views

Dynamic not updating InputField

I'm trying to do some interactive fitting of data using an arbitrary number of the same function (a Gaussian in this case). This means that I also have an arbitrary number of variables and constraints....
4
votes
1answer
59 views

Dynamic InputField with syntax highlighting?

I'm trying to create a notebook where a user can enter a Mathematica expression, and its syntax is analyzed (number of tokens, compressed size, etc.). Trying this answer, ...
1
vote
1answer
31 views

Using Switch inside Dynamic with variable number of conditions

I'm trying to create some code that plots a variable number of Gaussians, and allows me to control their parameters using Locators. One locator at the top controls $...
0
votes
1answer
39 views

How do I evaluate “If” statement inside PlotLabel? [closed]

I have an experimental function that is dependent on x and y [f(x,y)=Sin(ax/by)]. I am trying to make a 3D plot of f using the manipulate function so that I can easily input measured values of ...
2
votes
1answer
56 views

How do I make a dynamic nested menu with the MorUI package?

I hope you can help me. I want to make a nested dynamic menu and I used the package MoreUI made by Kuba as a reference Question. My problem is that I want to add tasks such as: ...
6
votes
0answers
48 views

Graphics Primitive Selector

Goal and motivation I want to build something that would intuitively work like: Graphics @ PaneSelector[{True -> something, False -> {}}, Dynamic @ show] ...
1
vote
1answer
55 views

Menu object in a notebook that will print text in a new cell

I would like to get an output text when I select every option of popup menu, the input below print me the option but outside the cell displaying panel generated with Manipulate. I have been trying ...
3
votes
2answers
231 views

How to create a button that adds InputFields when clicked?

I would like to create a button 'ADD' that creates a new InputField each time the user clicks it. I have tried something like this so far: ...
1
vote
1answer
31 views

Access system selection colour

On some operating systems it is possible to customize selection colours and other GUI colours. I have set yellow for mine: Is it possible to retrieve this colour in Mathematica, so that it can be ...
2
votes
0answers
39 views

Problem with PopupMenu: Its values don't update dynamically

I have a problem with PopupMenu inside DynamicModule, its values don't update dynamically as they supposed to. The example below ...
6
votes
4answers
157 views

Dynamic Linkage of LocatorPane and InputField

How do I get the InputField to coordinate with the LocatorPane so that a change in each control changes the other to be in agreement? It would be nice if the function was self-contained and was ...
5
votes
1answer
49 views

IntervalSlider and updating function specification

IntervalSlider seems to ignore Dynamic's second argument: ...
3
votes
3answers
103 views

How can I make Graphics objects clickable?

I have created a list (listA) that specifies disks based on color, center point, and radius: ...
0
votes
0answers
68 views

Creating a GUI for a classifier

I developed the following code which is suitable for cloud deployment. However, in order to avoid the problems of the cloud, I would like to create an user interface that runs in a Mathematica ...
5
votes
1answer
133 views

Context menu in CDF Player

Using Style with the option ContextMenu or AttachedCell it is possible to create context ...
2
votes
1answer
58 views

Slider controls not showing in CDF deployed to wolfram cloud

When I run my CDF from CDFPlayer or Mathematica I see all additional controls (fast forward, play, pause, etc) when Appearance->"Open" is usede.g.: ...
2
votes
0answers
39 views

Loading previous saved variables into DynamicModule

I have a GUI, built inside a DynamicModule. I would like to be able to load previous set options and values, changing the values that are currently set within the DynamicModule, not the global ...
4
votes
1answer
100 views

How to make TabView Background option work

At least in Windows the example below creates a TabView where the selected tab is basically indistinguishable. This problem has been there for years. Is this problem solvable in Windows? How? <...
5
votes
0answers
63 views

How to prevent the message: Not enough memory to display a cell

While running a single-cell GUI application that repeatedly changes and refreshes its content I got this message: There was not enough memory to display a cell... I found in this old MathGroup thread ...
2
votes
1answer
62 views

Restricting access to certain tabs on TabView

I'm using TabView as my base for an image analysis GUI for a collaborator to use. I'd like to restrict moving onto the next tab until the preceding tab has been ...
4
votes
1answer
55 views

InputField of size that fits the content

I'd like to have an InputField that adjusts its size to the content. I can't make ImageSize->{All, All} or anything similar ...
2
votes
0answers
44 views

Selected image in a TogglerBar changes outline colour

I have a TogglerBar control for selecting images, but I see inconsistent border colours depending on what else is in the Dynamic....
4
votes
0answers
95 views

How to combine multiple image processing steps into a GUI

I'm trying to combine several Manipulate objects into a single workflow, for semi-automating an image analysis. I have worked out how to do each individual part, ...
4
votes
2answers
57 views

Updating/ disabling certain slider values dynamically in Manipulate

I am struggling with Manipulate dynamic updating. I would like to have an image containing two points which can both be moved in real time to any location on the ...
1
vote
1answer
58 views

MouseOver and Speak

I am having an issue where Mouseover doesn't work with Speak and instead returns Null. All ...
6
votes
3answers
65 views

How to create a button that deletes a character?

I am creating a template that can be used on a touch-screen to input data into an InputField. Following the example from the Basic Math Assistant palette, the ...
3
votes
1answer
55 views

How to use the progress indicator in “open from cloud”?

I like the circular loading indicator seen in the "save to the cloud" dialog: Is there any way to call it programmatically?
6
votes
1answer
117 views

How to force a Manipulator inside a Manipulate to auto-run?

I want to use a slider (not drop-down list) for a list of discreteValues to do the Manipulate (I used ...
6
votes
1answer
95 views

Conditional rendering of items

Let's say I have a column to display and each of its items can be hidden separately. Question: Is there a way to make it work without re-rendering whole column whenever a particular item is hidden? ...
1
vote
0answers
32 views

Dragging items from a graphics palette

I am having all kinds of trouble trying to get the following to work in Mathematica. I want to be able to have, say, icons on the left side of a graphic, and to be able to drag copies of that icon ...
1
vote
2answers
86 views

Import files from a directory choose via Manipulate

I thought I write a super-simple program to import all (Excel)files from a directory a user can choose> ...
4
votes
1answer
133 views

My clock doesn't work

I have this code. When I click on the clock, my alarm don't activate and not work. I have tried with DynamicModule and nothing. I don't know where is the error. <...
3
votes
0answers
43 views

How to make custom attached menubars? [duplicate]

I would like to understand how to build an attached menubar. For example, Image has the following bar - an attached cell that arises when clicked on: ...
0
votes
0answers
81 views

Mission impossible: initial value of slider that correctly resets another slider

Please take this code (for 2 sliders) as is and try to minimize alterations to the original structure. The goal is to have: the first Slider reset the second ...
14
votes
0answers
209 views

Dynamic is significantly faster and more responsive with LinkSnooper

I noticed an absolutely bizarre behavior of Dynamic. A simple dynamic module with SynchronousUpdating -> False is ...
0
votes
2answers
68 views

How can I dynamically hide and shows Graphics3D objects?

This quest is motivated by this. If I wish to visualize 3 Graphics3D objects, I can do this: ...
1
vote
1answer
33 views

Why do I get an AutoAction message in my Manipulate output?

The code below basically downloads and manipulates some data. I won't show it all because it's too long. But if you find that it must be provided to help you with answering my question, please let me ...
4
votes
2answers
111 views

PopupMenu with checkboxes

I am trying to create a popup menu where I can check some boxes to create some plots after the calculation. It is like multiple selections popupmenu. My Frankenstein version, of course, isn't working....
1
vote
1answer
40 views

How to combine Control and AutoAction in Manipulate?

I have 2 Manipulate as below:- ...
3
votes
2answers
107 views

Colour panel upon condition of an input field

I have something like a "mortgage calculator", and I now want to colour the panel depending on the inputs that the user has made in my input fields. This would be the code: ...
0
votes
1answer
95 views

How to format Print to display in Panel

The following code prints the the value of the solution $x(t)$ to an ODE at a user defined time $t_f$. I want the value (0.350232) to appear within the Panel and not below the Panel as the following ...
5
votes
1answer
94 views

The reason behind ControlToBoxes (DynamicDump`)

Background I'm trying to establish best practices for custom controllers programming. This question is about one top level aspect of it. WRI suggested (few talks I don't remember right now) to ...
10
votes
0answers
113 views

'Visibility' of Dynamics in TabView with respect to SynchronousUpdating

Bug introduced in 11 or earlier and persisting through 12.0.0 CASE:4076464 Example 1 ...
2
votes
1answer
45 views

Hold Evaluation in a MenuView or TabView

Suppose I wish to create a MenuView where the evaluation of the rules is time consuming. How would I delay evaluation of the right-hand-side of the arguments to <...
5
votes
1answer
73 views

How to speed up a text search widget?

I have an InputField that searches a predefined list for matching strings and displays them in a TextGrid. But when the list is ...
8
votes
0answers
130 views

What is the point of PaneSelector?

Intro PaneSelector looks like a pretty idiomatic way to toggle displayed content e.g.: ...
2
votes
1answer
53 views

Docked Cell Slider that controls magnification of Output Cells only

The following code (found here on stack exchange) creates a docked cell which contains a slider that can be used to change the magnification of the entire notebook. ...
2
votes
1answer
71 views

Formatting the value that the option “Labeled” shows to the right of a manipulator

I need that the appearence labeled of the manipulate take the form rationalize. My code is: ...