We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [gui-construction]

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

57 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
0answers
214 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 ...
13
votes
0answers
236 views

Tooltip/EventHandler misaligned with scaled graphics primitives they wrap

Bug introduced in 8.0 or earlier and persists through 11.3 It affects all event based wrappers for affected primitives. E.g. EventHandler. Which makes it a big ...
12
votes
0answers
234 views

HorizontalGauge causes problem with ScalingFunctions -> “Log”

Bug introduced in 9.0.0 and persisting through 11.0.1 or later HorizontalGauge is new in 9.0.0 I am trying to use ...
10
votes
0answers
114 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 ...
9
votes
0answers
137 views

What is the point of PaneSelector?

Intro PaneSelector looks like a pretty idiomatic way to toggle displayed content e.g.: ...
6
votes
0answers
49 views

Graphics Primitive Selector

Goal and motivation I want to build something that would intuitively work like: Graphics @ PaneSelector[{True -> something, False -> {}}, Dynamic @ show] ...
5
votes
0answers
65 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 ...
5
votes
0answers
135 views

InputField GUI Glitches

Has anyone observed the following GUI glitches in Mathematica (see screenshots below)? I have noticed this beginning to occur from Mathematica 10 onwards. I've only tested their occurrence with the <...
5
votes
0answers
92 views

Is there something like MaxProcessorUsed?

For standard procedures it is easy to test if the implementation is better or worse than other by using Timing etc. It does not help us with creating ...
5
votes
0answers
574 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, text ...
4
votes
0answers
98 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
0answers
141 views

What is the best way to localize variables in a custom control

I am trying to build a custom control that is just a combination of a group of smaller controls that combine to give the final value, but with the final value only updating when the controls stop ...
4
votes
0answers
58 views

What are the possible options for the Appearance option of IntervalSlider?

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
4
votes
0answers
103 views

Dynamic performance issues related to Pane's ResizeArea

Following AdvancedDynamicFunctionality / Front End Ownership of DynamicModule Variable Values we can use DynamicModule's variables to reduce the time spent on ...
4
votes
0answers
80 views

How to set Ticks for an AngularGauge?

How do you set custom ticks on an AngularGauge. ...
4
votes
0answers
110 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? <...
4
votes
0answers
362 views

GUI Maker? Is there a perhaps drag and drop GUI maker for Mma?

IDE's like Borland, Eclipse, and others have ways of making GUI's. Drag and drop is usually the way of it. Then one puts the variables together and links up everything. Mma seems to handle (at least ...
3
votes
0answers
57 views

Large Dynamic expressions and responsive UI's

I have a ListLinePlot with 40,000 points. When it's displayed on-screen the input fields are not responsive (text appears slowly well after the user is done typing)....
3
votes
0answers
67 views

Recommended Notebook and Cell Options for Deployed GUIs

I often use CreateNotebook to enclose GUIs that open in a Deployed, non Saveable and non <...
3
votes
0answers
63 views

Overlay two groups of controls

How can we combine two UI elements with controls such that they all work? Overlay forces you to choose which layer receives the input. Can we do both at the same ...
3
votes
0answers
91 views

Memory management in Dynamic

Here is some example code for an image viewing aspect of a notebook I'm working on. I was hoping that the return value of LoadPage[] would be garbage collected when ...
3
votes
0answers
53 views

How to temporarily turn off log messages?

I'm using GUIKit in Mathematica 11.0, which throws an error message whenever a window or panel is shown. I know GUIKit is deprecated but I don't want to port a whole project to the newer controls. ...
3
votes
0answers
60 views

InputField does not accept all single-character expressions

When I enter ESCinfESC or \[Infinity] into an InputField, such as that below, the input is ...
3
votes
0answers
41 views

Text in Popupmenu that cannot be chosen

Is it possible to make a popupmenu where there is text inserted into the options which you cannot choose. For instance: a popup menu with animals devided into two categories. Birds: duck, eagle, ...
3
votes
0answers
75 views

Can one preserve the appearance of the HorizontalGauge?

I use sometimes the HorizontalGauge instead of a slider in Manipulateor instead of the ...
3
votes
0answers
286 views

Do a gauge transformation for a Chern-Simons theory?

Suppose we have the following Lagrangian density: $$ L=\epsilon^{\mu\nu\rho}\big(\sum_a A^a_{\mu}(x) \partial_\nu A^a_{\rho}(x)-\sum_{a,b,c}\frac{1}{3} f^{bca} A^a_{\mu}(x) A^b_{\nu}(x) A^c_{\rho}(x)...
2
votes
0answers
44 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 ...
2
votes
0answers
40 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 ...
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....
2
votes
1answer
136 views

How to place a FormFunction in DialogInput?

FormFunctions work well in a notebook cell. ...
2
votes
0answers
78 views

How to refresh a TemplateSlot in a dynamic FormFunction?

I am building a FormFunction that makes use of a TemplateSlot to define a field. This minimal example demonstrates the issue. <...
2
votes
0answers
92 views

FormPage oddities

problem with default value FormPage[{namespec -> type -> default, ...}, func ] uses default as the default for the ...
2
votes
0answers
86 views

Nested Dialog Input

I have a blocking Dialog that is taking input from another dialog internally. This is how I have coded ...
2
votes
0answers
59 views

Getting explicit BaseStyle or DefaultBaseStyle settings

Is there a way of making more similar the appearance of TogglerBar and Toggler controls that can sometimes appear quite ...
2
votes
0answers
72 views

Panel size undesired behaviour

This is next question from the series: better avoid Panel if you care about details. previous about FrameMargins In the ...
1
vote
0answers
73 views

How to make a palette look exactly like a MacOS window?

Is there anyway to style a pallete so that it looks like a native window: ...
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
96 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> ...
1
vote
0answers
60 views

Multipage FormFunction “Required” FormObject broken with “FileName” interpreter

Multipage FormFunction does not validate FormObjects with "FileName" interpreter if the field is left blank. Minimal example <...
1
vote
0answers
61 views

Upload notebook to the Cloud and add a download hyperlink in separate cloud objects

cross posted on community.wolfram.com Title say it all, I want to export _Notebook to cloud as a .nb file and make it available to download via hyperlink in different places. This is rather a code-...
1
vote
0answers
72 views

How to update a Text Field Widget during evaluation of a function

My problem is rather simple, I need that the TextField widget named Sumfield updates its value during a function evaluation, in ...
1
vote
0answers
123 views

Making graphic objects disappear interactively

I am trying to create a program where dots on a plane disappear when an object passes over them. I am using EventHandler to code the arrow keys for control of the ...
1
vote
0answers
56 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 ...
1
vote
0answers
117 views

Plot with two phases: user input phase and animated plot phase

Here I present what I created: ...
1
vote
0answers
136 views

Updating a GUI with ComboBox using GUIKit

Dear Mathematica users, does anyone know how I can update my existing Gui window (made with GUIKit) by choosing different values of a ComboBox so that different and multiple TextFields etc appear ...
1
vote
0answers
197 views

Building Reusable Custom Controls?

I would like to build an application using Mathematica 10. I would very much like to structure the application for maximum maintainability. To this end I would like to segregate controls and user ...
1
vote
0answers
73 views

Symmetric FrameMargins problem

Such details are driving me crazy while creating GUIs with Mathematica: ...
0
votes
0answers
70 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 ...
0
votes
0answers
85 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 ...
0
votes
0answers
30 views

How to disable “Animate Bookmarks” in a Manipulate

Is there any way of disabling the item "Animate Bookmarks" in the control menu (which appears clicking on the + symbol on the top right corner) of a Manipulate? The rationale for this question is ...