Skip to main content
13 votes
Accepted

Evaluation leak from Dynamic in Button's action

To understand this, look at the typesetting: ...
John Fultz's user avatar
  • 12.6k
13 votes

Button action monitored with progress bar

Building on Kubas code here is an alternative which solves some (minor) problems: it will not leave behind scheduled tasks when the abort button is used, it works equaly well when the Alt+. shortcut ...
Albert Retey's user avatar
  • 23.6k
13 votes
Accepted

How can I create a help button that looks more "professional"?

Why not just use the graphic in the question, or any other images that you like: Use ImageSize to control the final size of the button: An alternative, that I use ...
Mike Honeychurch's user avatar
11 votes

How do I add the infobutton in autocomplete that links to the documentation page for package functions?

So I mentioned this in a comment but I'll get it out here for the bounty poster too. Searching for the "JLink`" in the autocomplete directory gave me this: ...
b3m2a1's user avatar
  • 47k
11 votes

How can I create a help button that looks more "professional"?

Here's the general way this type of thing seems to be handled in the built-in things plus code to build the type of buttons you want. First the button code: ...
b3m2a1's user avatar
  • 47k
11 votes
Accepted

VoronoiMesh as a TogglerBar

Here are implementations for a MeshTogglerBar and MeshSetterBar based on my answer here (code below). Both implementations use <...
Lukas Lang's user avatar
  • 34.2k
11 votes
Accepted

Using graphics primitives as buttons

It might be easier to build your own button using EventHandler and CurrentValue: ...
Lukas Lang's user avatar
  • 34.2k
10 votes

How can I create a help button that looks more "professional"?

A couple of images that come with Mathematica. Caveat: There's no guarantee that they will be present in all (future) versions. ...
Michael E2's user avatar
  • 239k
10 votes

VoronoiMesh as a TogglerBar

...
kglr's user avatar
  • 399k
10 votes
Accepted

Making a Mathematica version of Wordle interactive

This is a very minimal interactive wireframe to get you started. ...
Domen's user avatar
  • 28k
10 votes
Accepted

Fit text within a button

The following should work well for ordinary text, without any magic numbers or rasterization tricks required: ...
Lukas Lang's user avatar
  • 34.2k
9 votes

VoronoiMesh as a TogglerBar

...
MarcoB's user avatar
  • 67.5k
8 votes
Accepted

How can I create a "Run all code" button in a notebook?

Here is some code I wrote to make a palette that I use a lot. Maybe the it will work you, or at least give you ideas on how to do it. ...
m_goldberg's user avatar
  • 108k
7 votes
Accepted

How to make Button just works one time

Details aside, TogglerBar seems to fit your needs best: ...
Kuba's user avatar
  • 137k
7 votes
Accepted

Emulating an up/down button that temporarily changes blue when clicked

You can use two individual instances of Button ...
Sascha's user avatar
  • 8,499
6 votes
Accepted

Generate multiple buttons for distinct list elements

That's a typical use of With[]: ...
andre314's user avatar
  • 18.7k
6 votes

Multiple buttons on an Image

Actually, any button is an image. Therefore, you can create graphics background and put the button on it using Epilog->Inset[..] . The insets could be easy ...
Rom38's user avatar
  • 5,169
6 votes

How to create a button that deletes a character?

...
kglr's user avatar
  • 399k
6 votes
Accepted

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

How about putting everything in the grid? Like so: ...
m_goldberg's user avatar
  • 108k
6 votes

Making a Mathematica version of Wordle interactive

Feel free to take a look at this on the Wolfram community that I did for fun: a facsimile of Wordle Moderators: update… I did not see that a link to this was added as a comment above. I am leaving ...
David Reiss's user avatar
6 votes
Accepted

How to launch a Manipulate (or a function that uses Manipulate) via a Button

Look at the documentation for Button. After clicking the button, the expression in the second argument, named action, gets evaluated. But if you want the result of ...
Domen's user avatar
  • 28k
5 votes
Accepted

How to have button's action repeat as long as the button remains pressed?

You may use EventHandler and CurrentValue["MouseButtons"]. For example, change your last ...
Edmund's user avatar
  • 42.5k
5 votes
Accepted

How to create a button that deletes a character?

This almost works: ...
C. E.'s user avatar
  • 70.9k
5 votes
Accepted

Grid of buttons over image with inset?

You can use the second and third arguments of Overlay: ...
kglr's user avatar
  • 399k
5 votes
Accepted

How to pixel constrain Button Appearance given as images?

buttons = MapThread[Button["", Appearance -> {"Default" -> #, "Pressed" -> #2}, ImageSize -> All] &, images] ...
kglr's user avatar
  • 399k
5 votes

How to create a button that adds InputFields when clicked?

...
Rom38's user avatar
  • 5,169
5 votes
Accepted

Show all dynamic changes on button press

Use the option Method -> "Queued": Button[Dynamic[x], x = 0; Table[Pause[0.1]; x++, {i, 1, 10}], Method -> "Queued"] ...
kglr's user avatar
  • 399k
5 votes
Accepted

How to change colour of TogglerBar

A custom toggler grid with the desired look: ...
kglr's user avatar
  • 399k
5 votes
Accepted

Words in a word cloud triggering actions?

The elements of the input list should be of the form {Button[$string_i$, $action_i$], $weight_i$} or,for unweighted data, just Button[$string_i$, $action_i$]. So ...
kglr's user avatar
  • 399k
5 votes
Accepted

Making Tooltips Work with Buttons in 3D Plots

This may do it (it does what I think you might want): ...
Michael E2's user avatar
  • 239k

Only top scored, non community-wiki answers of a minimum length are eligible