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
1answer
21 views

symbols in a function to “take on” the values of controls with the same names in Manipulate

(** I want the symbols a1... in f1... to "take on" the values of the controls with the same names in Manipulate[Plot[f1[3,"a"],{x,1,3}],{a1,0,1},{a2,0,1},{a3,0,1}]. Here's what I'...
1
vote
1answer
56 views

Can I plot *after* setting slider values?

I have some fundamental misunderstanding of the use of Mma's GUI elements, and I would appreciate some guidance. I would like to be able to set up a calculation based on slider values and then press ...
0
votes
0answers
28 views

Using button to display a data table

Here is the code I have tried: Button["Click to show table", Grid[data]] Is there a way to do this, so the user can click a button to show the data table?...
3
votes
1answer
95 views

Get symbol at mouse position

How can I get the symbol which is under the mouse pointer at any time? I know that I can get the mouse position with MousePosition[] and dynamically with ...
3
votes
2answers
73 views
2
votes
1answer
62 views

How do I fully specify settings for an image to be used as a GaugeMarker?

I have designed a ClockGauge and wish to use three different images for the hour, minute and second hands.The images are not rectangular and are not symmetrical. The code used is below: ...
3
votes
1answer
72 views

Panel, Pane, and Framed Alignment - Clipped Images, Negative Margins, ContentPadding

I'm trying to tightly wrap some expressions in containers (could be Panel, Pane, maybe Framed...
2
votes
1answer
75 views

Making a GUI similar to Documentation Center

This is an offshoot of how to create a menu as the Documentation Center?... My aim is to build a menu that functions kind of like the documentation center...a grid of rectangles, each with a dropdown ...
0
votes
0answers
30 views

Saving code as a blackbox for wolfram player

I am trying to save my program as a blackbox so those who I am deploying it to are able to use it, but there is no reason for them to have the huge chunk of code beforehand to have to scroll through. ...
2
votes
1answer
41 views

How to use controls for creating static variables

I try to create a static variable initialized by some control. Let's create PopupMenu control ...
4
votes
1answer
55 views

Invert Selection checkbox

I want to use a checkbox to invert the current checkboxbar selection, the code now basically works, but I hope that when the checkboxbar is all selected or not, the status of the first checkbox will ...
0
votes
1answer
62 views

TogglerBar linked to Buttons that override input list

This question is about extending the solution provided here. How do I allow the user to change x outside the TogglerGrid function so that the TogglerBar shows the new values of x? I've set it up ...
10
votes
1answer
231 views

Is there a way to disable the “Formatting Notebook Contents” panel?

Mathematica loves telling the user that it is "Formatting Notebook Contents" during DataModeler model searches. The problem is that, even though Mathematica is in the background, that panel ...
0
votes
0answers
142 views

Panel not working inside Do loop

If I have Do[Interpretation[Pannel[...]]], the code does nothing. How to fix it? Below is the most simple example, I could think of and it does not work. ...
0
votes
1answer
84 views

Capture screenshot of a certain window given its title

Is there a way to find the handle of a certain window and take a screenshot in Mathematica without having to call external programs? Something that connects with the API for the operating system.
2
votes
1answer
54 views

How to make value of HorizontalGauge be continuously updated in Manipulate?

I wrote the following code: Manipulate[HorizontalGauge[Dynamic[x], {0, range}], {range, 5, 10}] I want to plot a HorizontalGauge...
5
votes
1answer
54 views

Why can't HorizontalGauge be directly added to the control part of Manipulate[]?

I try to use HorizontalGauge in Manipulate as follows: ...
2
votes
2answers
108 views

combine horizontal gauge and vertical gauge as a Cartesian coordinate

I tried to inset horizontal gauge and vertical gauge in the same Graphics/Plot, but the origins of two gauges don't intersect: The problem with inset[] is it will resize the object, how to combine two ...
1
vote
0answers
24 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: ...
1
vote
0answers
91 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 ...
0
votes
1answer
41 views

Manipulate: variable localization inside nested `Control`

Below is a piece of my code I have trouble with: ...
4
votes
1answer
92 views

How Do I Create a Separate Window for my output WITHOUT the usual Windows Title Bar and Scrolling bar

I want to display some output in a separate Window but WITHOUT all the usual Windows accoutrements. I don't want a title bar, I don't want a menu of options, I don't want a scroll bars - I just want a ...
2
votes
0answers
35 views

Is there some way to make Dynamic track only a part of a variable [duplicate]

I often run into a situation like the one exemplified by the code below. The basic idea is to use a single DynamicModule variable as a list or association of values ...
7
votes
2answers
136 views

InputField with carriage return in cloud notebooks?

I'm looking for a way of constructing a multi-line InputField in a cloud notebook. That is, a text field that supports the following five behaviors: The 'Enter' ...
2
votes
0answers
76 views

How to do field completion in FormFunction?

The control InputField has the option FieldCompletionFunction for showing optional autocompletions (updates a dropdown as you ...
4
votes
2answers
118 views

How to style the frame of the a button?

For certain Appearance options of Button you can control the Background, but how does one ...
7
votes
2answers
123 views

How to pause an Animator with Mouseover?

I would like my Animator to pause when the mouse is not over it. For example, here it continues to update even when it's not moused-over: ...
2
votes
2answers
76 views

Vanishing function and Manipulate

Within Manipulate, I want to vanish certain controls if other controls satisfy a specific condition. The simplest case is to consider two checkboxes, ...
2
votes
0answers
76 views

Interactive Graph Construction

I'm interested in constructing an interactive GUI graph generator, where I can add and delete vertices and edges. I'm aware of this question, and this is but a quick follow-up to this answer. I would ...
0
votes
0answers
27 views

Splitting a SetterBar to multiple lines, wrapping at a given page margin?

I have 4 SetterBars linked to the same variable, and representing 593 choices in four categories. How might I get a sensical output that wraps to window or screen or some arbitrary margin? ...
4
votes
1answer
78 views

Automatically generating and labelling controls in Manipulate

Consider the following code ...
2
votes
1answer
75 views

Inactivate Controls within Manipulate

Given a certain Control object (checkbox, for example) within a Manipulate environment, my goal is to define another control ...
1
vote
1answer
36 views

Extracting the output of FlipView and then updating

Say I have a triangulation of an octagon: ...
2
votes
2answers
73 views

Changing a diagonal inside a regular $n$-gon when clicked

I am trying to understand the use of Dynamic, DynamicModule, EventHandler, etc. I created an ...
8
votes
1answer
183 views

How to make a Locator3D/LocatorSphere?

On Making a LocatorSphere: Okay so I'm trying to realize a Locator3D-esque functionality for Mathematica. Something like a <...
0
votes
0answers
42 views

Mouse wheel scrolling doesn't work in Pane inside ExpressionCell

Essentially what the title says - Consider the following example: ...
8
votes
2answers
92 views

Avoid clipping label in IntervalSlider?

For custom appearances IntervalSlider seems to clip on the right side: ...
20
votes
3answers
1k views

How to write a drag-n-drop reorderable gui?

Most modern GUI building libraries (e.g. cocoa) support this basic operation in tables or lists: reordering items with a mouse. For example, the drag-and-drop of items in a MacOS finder or app window: ...
15
votes
3answers
614 views

VoronoiMesh as a TogglerBar

Is it possible to use a VoronoiMesh to define a TogglerBar or SetterBar type ...
2
votes
1answer
51 views

Aligning Conditional Controls in Manipulate

Consider the following code ...
1
vote
1answer
86 views

Dynamic Delimiter in Manipulate

Consider the following ...
1
vote
1answer
102 views

Aligning Checkboxes in Manipulate

Consider the following code ...
3
votes
1answer
115 views

A button that creates a cell and evaluates it

Short version: PasteButton will paste its contents at the input cursor. I am looking to create a similar button that will paste something into a new cell and ...
5
votes
1answer
157 views

Multiple buttons in a Manipulate: how do I get a good layout?

Consider the following code ...
7
votes
2answers
172 views

How to change colour of TogglerBar

Consider the following code ...
4
votes
1answer
71 views

Avoiding jiggle in palettes

I have a palette containing a Grid with dynamics. As it runs it jiggles horizontally. Here's a minimal example: ...
2
votes
1answer
47 views

Yet more on Manipulate[] - Formated Input

Suppose I have something like Manipulate[Plot[Sin[n x], {x, -Pi, Pi}], {n, 20, "Frequency"}] with a manual input field but I want to accept inputs like ...
2
votes
0answers
78 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
1answer
112 views

How to get ListAnimate to click at each step?

It would be nice if, at each step in ListAnimate, there could be a clicking sound to draw attention to the new step. I hope to use the single click sound sample ...
3
votes
0answers
66 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)....

1
2 3 4 5
12