Skip to main content

Questions tagged [gui-construction]

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

77 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16 votes
0 answers
328 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 ...
kkm mistrusts SE's user avatar
13 votes
0 answers
258 views

Tooltip/EventHandler misaligned with scaled graphics primitives they wrap

Bug introduced in 8.0 or earlier and persists through 12.2 It affects all event based wrappers for affected primitives. E.g. EventHandler. Which makes it a big ...
Kuba's user avatar
  • 137k
13 votes
0 answers
284 views

HorizontalGauge causes problem with ScalingFunctions -> "Log"

Bug introduced in 9.0.0 and persisting through 12.2.0 or later HorizontalGauge is new in 9.0.0 I am trying to use ...
Ernst Stelzer's user avatar
10 votes
0 answers
150 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 ...
Kuba's user avatar
  • 137k
10 votes
0 answers
198 views

What is the point of PaneSelector?

Intro PaneSelector looks like a pretty idiomatic way to toggle displayed content e.g.: ...
Kuba's user avatar
  • 137k
6 votes
0 answers
53 views

Graphics Primitive Selector

Goal and motivation I want to build something that would intuitively work like: Graphics @ PaneSelector[{True -> something, False -> {}}, Dynamic @ show] ...
Kuba's user avatar
  • 137k
6 votes
0 answers
82 views

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

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
Quantum_Oli's user avatar
  • 7,974
5 votes
0 answers
79 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 ...
Ariel Sepulveda's user avatar
5 votes
0 answers
119 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, ...
SPPearce's user avatar
  • 5,663
5 votes
0 answers
195 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 <...
Rahul's user avatar
  • 135
5 votes
0 answers
93 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 ...
Kuba's user avatar
  • 137k
5 votes
0 answers
738 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 ...
subbu's user avatar
  • 2,304
4 votes
0 answers
204 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 ...
lmnop1234's user avatar
4 votes
0 answers
113 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 ...
Kuba's user avatar
  • 137k
4 votes
0 answers
104 views

How to set Ticks for an AngularGauge?

How do you set custom ticks on an AngularGauge. ...
Edmund's user avatar
  • 42.4k
4 votes
0 answers
123 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? <...
Kuba's user avatar
  • 137k
4 votes
0 answers
403 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 ...
EdgyTector's user avatar
3 votes
0 answers
54 views

Grid Problem: Combining Item[] with SpanFromLeft/Above

I'm trying to lay-out a Grid with various entry-specific Frame settings. In my case, using ...
Sean's user avatar
  • 645
3 votes
0 answers
70 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)....
Eric William Smith's user avatar
3 votes
0 answers
80 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 <...
Ariel Sepulveda's user avatar
3 votes
0 answers
81 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 ...
Stitch's user avatar
  • 4,225
3 votes
0 answers
147 views

FormPage oddities

problem with default value FormPage[{namespec -> type -> default, ...}, func ] uses default as the default for the ...
Kuba's user avatar
  • 137k
3 votes
0 answers
121 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 ...
Dan's user avatar
  • 870
3 votes
0 answers
79 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. ...
SimonH's user avatar
  • 163
3 votes
0 answers
67 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 ...
Michael E2's user avatar
  • 238k
3 votes
0 answers
57 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, ...
Saida's user avatar
  • 31
3 votes
0 answers
81 views

Can one preserve the appearance of the HorizontalGauge?

I use sometimes the HorizontalGauge instead of a slider in Manipulateor instead of the ...
Alexei Boulbitch's user avatar
3 votes
0 answers
412 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)...
wonderich's user avatar
  • 923
2 votes
0 answers
32 views

CreateDialog and GraphicsArray

I think I have hit on a true bug in the Mathematica Front End: If I define plotFunc[] := Print[GraphicsGrid[{{Plot[x^2, {x, 0, 1}], Plot[x^3, {x, 0, 1}]}}]]; I can ...
Stefan Gillessen's user avatar
2 votes
0 answers
29 views

How prevent nested OpenerView collapsing back to initial closed state when innermost contents change

Very simple example: ...
Webel IT Australia - upvoter's user avatar
2 votes
0 answers
101 views

Making Static Buttons

Is it possible to get a button that remains still when clicked? That is, it does not show the temporary pressed frames This also happens when I set ...
sam wolfe's user avatar
  • 4,873
2 votes
0 answers
87 views

How to do field completion in FormFunction?

The control InputField has the option FieldCompletionFunction for showing optional autocompletions (updates a dropdown as you ...
M.R.'s user avatar
  • 31.6k
2 votes
0 answers
83 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: ...
M.R.'s user avatar
  • 31.6k
2 votes
0 answers
130 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 ...
Kamila's user avatar
  • 77
2 votes
0 answers
60 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 ...
SPPearce's user avatar
  • 5,663
2 votes
0 answers
55 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....
SPPearce's user avatar
  • 5,663
2 votes
0 answers
127 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. <...
Edmund's user avatar
  • 42.4k
2 votes
0 answers
159 views

Nested Dialog Input

I have a blocking Dialog that is taking input from another dialog internally. This is how I have coded ...
Neel Basu's user avatar
  • 961
2 votes
0 answers
76 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 ...
Ronald Monson's user avatar
2 votes
0 answers
80 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 ...
Kuba's user avatar
  • 137k
1 vote
0 answers
41 views

Displaying ActionMenu Choices Programmatically

Executing the following code creates an ActionMenu: ActionMenu["Menu", {"temp1" :> Print[1], "temp2" :> Print[2]}] If you move ...
B flat's user avatar
  • 5,565
1 vote
0 answers
46 views

Sortable Grid-like control for large data sets?

I've been using a roll-your-own function for a while that's a wrapper around Grid which adds a couple things I always use, like headers, dynamic sorting, filtering, and clipping (only showing the ...
Trev's user avatar
  • 763
1 vote
0 answers
148 views

How to make this interface?

I was recently watching this video on the role of the Wolfram language on data science and engineering, and upon discussion of data manipulation, the following CDF was briefly shown (around 0:50 in ...
sam wolfe's user avatar
  • 4,873
1 vote
0 answers
62 views

Grid's automatic resizing

Imagine I have a dynamic opener that changes the number of rows. For example, ...
sam wolfe's user avatar
  • 4,873
1 vote
0 answers
88 views

How to create a bootstrap style InputField?

I am trying to create a bootstrap style InputField in Mathematica. Here is what I've done so far: ...
Sâu's user avatar
  • 555
1 vote
0 answers
32 views

TogglerBar Text Cuting

Does anyone know how to prevent the text from cutting when using a Togglerbar? I would like the text to wrap instead. For instance: ...
Tim B's user avatar
  • 547
1 vote
0 answers
287 views

TableVIew and Dynamic

Considering using TableView to present data and allowing the user make small adjustments to the values. Would like some help with Dynamic and TableView. Below is a basic example. In the more ...
user6546's user avatar
  • 1,069
1 vote
0 answers
50 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 ...
Xylochoron's user avatar
1 vote
0 answers
134 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 ...
Mendieta's user avatar
1 vote
0 answers
78 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 <...
Edmund's user avatar
  • 42.4k