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
0 answers
29 views

How can I change fractions as tick labels with real numbers?

When using HorizontalGauge or VerticalGauge the scale divisions are frequently labels with fractions (1/5, 2/5) etc., which looks terrible and is hard to read. I have not found a way to force labels ...
user avatar
  • 1
0 votes
0 answers
58 views

ActionMenu and FormFunction in CreatePalette

While trying to answer this question on the Wolfram Community site I ran into the following issue. This works ...
user avatar
7 votes
1 answer
118 views

Dynamically Center a Control in Manipulate

I am attempting to dynamically horizontally center a button above the plot window in a manipulate. For example, ...
user avatar
  • 4,549
0 votes
0 answers
32 views

Pokemon ELO rating with wolframscript

I would like to implement a Pokemon ELO system that my friends that don't have Mathematica installed could use as well via Wolframscript. The application would work as follows: You run a script ./...
user avatar
  • 928
1 vote
1 answer
81 views

inputting a binary matrix via buttons

I want to input a binary matrix via buttons as in the following code: ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
  • 611
0 votes
0 answers
36 views

A standalone notebook that just shows a Manipulate and hides all other code?

I have a complex notebook with one cell that contains a bunch of initial definitions, several modules, and finally a Manipulate object. For a simple example take ...
user avatar
  • 197
2 votes
3 answers
123 views

Exporting specific frame of ListAnimate

Imagine I have a certain list of Graphics-type objects that I then incorporate into ListAnimate ...
user avatar
  • 4,138
1 vote
0 answers
95 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 ...
user avatar
  • 4,138
0 votes
1 answer
62 views

Setting automatic dividers when merging groups

Imagine I have my code split into multiple sections, like so Suppose I now select all cells and merge them, getting Is it possible to automatic set a divider between the different code sections? I'm ...
user avatar
  • 4,138
1 vote
1 answer
57 views

Deleting all outputs on Notebook close

Is is possible to set up a Mathematica notebook so that all outputs are automatically deleted when the notebook is closed? I was trying to look for some function like ...
user avatar
  • 4,138
2 votes
0 answers
86 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 ...
user avatar
  • 4,138
3 votes
1 answer
121 views

Asymmetric Grids

Consider the following Grid ...
user avatar
  • 4,138
1 vote
1 answer
92 views

Changing Slider Style [duplicate]

Is there any option to customize the Slider tracker to an image or a Graphics object? What about simply changing its colour? For ...
user avatar
  • 4,138
1 vote
1 answer
68 views

Dynamic updating problem

Consider the code ...
user avatar
  • 4,138
1 vote
0 answers
41 views

Grid's automatic resizing

Imagine I have a dynamic opener that changes the number of rows. For example, ...
user avatar
  • 4,138
3 votes
0 answers
88 views

Button changes in 12.3 [closed]

In the new 12.3 version I noticed a change in how buttons react to the Background option. For instance, take ...
user avatar
  • 4,138
0 votes
0 answers
52 views

How to make a better self-closing toolbar button that always works?

My DockedCellstoolbar has a self-closing button that sometimes decides to permanently stop working on that particular notebook. closing and reopening file always ...
user avatar
  • 1,787
5 votes
3 answers
162 views

Manipulate delimiter between control and content

Is it possible to stylize Manipulate so that there is a line separating the control and the content? The code ...
user avatar
  • 4,138
1 vote
1 answer
88 views

Creating a Button to evaluate initialization cells

I am trying to create a setup where I have a number of InputField, SetterBar, and Checkbox ...
user avatar
  • 1,895
2 votes
1 answer
82 views

External Dynamic Control with Manipulate

I want to have dynamic controls that depend on other controls. For example, the code ...
user avatar
  • 4,138
1 vote
0 answers
64 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: ...
user avatar
  • 483
0 votes
1 answer
31 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'...
user avatar
1 vote
1 answer
67 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 ...
user avatar
  • 12.3k
0 votes
0 answers
31 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?...
user avatar
3 votes
1 answer
105 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 ...
user avatar
  • 419
3 votes
2 answers
86 views

How to solve the problem of EventHandler losing focus?

...
user avatar
2 votes
1 answer
68 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: ...
user avatar
3 votes
1 answer
89 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...
user avatar
  • 555
2 votes
1 answer
107 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 ...
user avatar
  • 250
0 votes
0 answers
36 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. ...
user avatar
  • 69
2 votes
1 answer
53 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 ...
user avatar
4 votes
1 answer
67 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 ...
user avatar
  • 6,510
1 vote
2 answers
109 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 ...
user avatar
  • 91
11 votes
1 answer
311 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 ...
user avatar
0 votes
0 answers
147 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. ...
user avatar
0 votes
1 answer
95 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.
user avatar
  • 1,801
2 votes
1 answer
59 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...
user avatar
  • 403
5 votes
1 answer
61 views

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

I try to use HorizontalGauge in Manipulate as follows: ...
user avatar
  • 403
2 votes
2 answers
118 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 ...
user avatar
  • 403
1 vote
0 answers
25 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: ...
user avatar
  • 527
1 vote
0 answers
154 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 ...
user avatar
  • 967
0 votes
1 answer
46 views

Manipulate: variable localization inside nested `Control`

Below is a piece of my code I have trouble with: ...
user avatar
  • 1,231
4 votes
1 answer
149 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 ...
user avatar
  • 41
2 votes
0 answers
39 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 ...
user avatar
  • 17.9k
7 votes
2 answers
152 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' ...
user avatar
  • 30.3k
2 votes
0 answers
82 views

How to do field completion in FormFunction?

The control InputField has the option FieldCompletionFunction for showing optional autocompletions (updates a dropdown as you ...
user avatar
  • 30.3k
4 votes
2 answers
181 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 ...
user avatar
  • 30.3k
7 votes
2 answers
134 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: ...
user avatar
  • 3,720
2 votes
2 answers
96 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, ...
user avatar
  • 4,138

1
2 3 4 5
12