Questions related to the Mathematica front-end (graphical user interface).

learn more… | top users | synonyms

46
votes
2answers
717 views

Guidelines for planning custom GUI in Mathematica

This post is here to save your time during GUI development in Mathematica. And one way to do this is to know where limits are and to be aware of features that are awaiting. Background Usually I don'...
7
votes
1answer
47 views

Multiple documentation notebooks open at the same time

Is it possible to view multiple documentation notebooks at the same time without launching multiple kernels? I'm sure it must be possible.
10
votes
2answers
2k views

What is the full list of all font families?

I'm having trouble finding a complete list of the FontFamily strings that mathematica supports.
15
votes
1answer
2k views

How to find out available fonts from within Mathematica?

How to find out available fonts on the system from within Mathematica? When I do Style["foobar", FontFamily -> "Foobar"] how do I know which font the ...
4
votes
1answer
118 views

Parsing subscripts when loading package files via the FrontEnd

I am working on some code, and have found it easier to use a Mathematica package because it is easier to run via command-line (lightweight) it allows for easier source versioning (Git), and it ...
10
votes
1answer
480 views

How to copy hyperlink addresses using the keyboard

I would like to copy the address of a hyperlink in Mathematica using the keyboard. I found code for copying hyperlink addresses in ContextMenus.tr: ...
7
votes
1answer
160 views

Transparent bitmaps or graphics in gui objects initially appear wrong

Bug introduced in V9.0 or earlier and persisting through 10.4.1 I have a problem with images with alpha channel which I want to use as labels on Button etc. ...
1
vote
0answers
127 views

What is the symbol FE`None for?

I have run into the symbol FE`None multiple times. What is this symbol, and what is it designed to indicate? All I could find is that FE indicates the front-end, but it's unfortunately a very ...
11
votes
0answers
71 views

Can one effectively edit a Front End Resource that is already loaded?

A number of special definitions are loaded from .tr files on Front End initialization and are accessible via FrontEndResource. ...
9
votes
2answers
490 views

How to access “Choose Color Scheme” Programmatically

I am designing an App and I want to use the "Choose Color Scheme" tools inside Button. I am looking to have this tool in popup window when the Button is clicked but I can't find the command to get ...
7
votes
2answers
236 views

Show StyleSheets and Palettes from custom directory in Mathematica's Menu

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
6
votes
0answers
52 views

Finish(Asynchronous)Dynamic[]

I have a question deriving from a recent topic Synchronizing Dynamics with EventActions. tl;dr; How to authoritatively explain the influence of ...
6
votes
1answer
81 views

How does the Kernel know the $Context in a localized notebook

SetOptions[EvaluationNotebook[], CellContext -> Notebook] $Context "Notebook$$70$398424`" And from different notebook ...
3
votes
1answer
188 views

Custom Mathematica Command Conventions?

I'll probably get ripped apart over this, but: Is there an option to make Mathematica use more common formatting conventions when dealing with commands? For example, most programming languages use ...
28
votes
3answers
426 views

How to create a dynamic expanding DisplayForm's styled like the ones in v10?

The display forms for objects like ClassifierFunction are nice clickable boxes I like this, and now I'm trying to create my a custom version of this for my ...
10
votes
0answers
69 views

Issue with undo after copying a string inside a string

Bug introduced in 10.0 and persisting through 10.4.1 or later Here's a small but annoying issue related to undo and copying of strings. Steps required to get the problem: Type ...
4
votes
1answer
75 views

Magnification, ScreenResolution, ScreenInformation and Printing: Please shine some Light into it!

According to How to set default magnification for all windows Mathematica assumes 72 dpi screen resolution. In my computer, the screen resolution actually is 120 dpi which is a very common value on ...
8
votes
1answer
97 views

What is the equivalent of $ModuleNumber for DynamicModule

Mathematica provides access to $ModuleNumber which can be enormously useful. Unfortunately I can't find the equivalent for ...
5
votes
1answer
95 views

Magnifying the Help documents without magnifying the images therein

In Mathematica's Option Inspector I set the notebook magnification factor to be larger than 1, for example 1.12, ("Notebook Options"->"Display Options"). Accordingly contents of the Help browser are ...
5
votes
1answer
335 views

Front-end glitch when interacting with dynamic content

This is now bugging me too much to ignore it anymore. When I interact with a notebook that has dynamic content, for example moving a slider, Mathematica regularly brings other open notebook windows to ...
1
vote
0answers
125 views

Help function ? sometimes doesn't show help

I was just wondering if this is a known bug. When I want to get basic help using the ? command before some function name, it typically works for a while, but I've ...
5
votes
1answer
81 views

Blocking dialog with a blocking child dialog

Suppose I have a DialogInput, in which there is a Button. The Button can trigger another <...
3
votes
0answers
52 views

Hide Notebook scrollbars

Is it possible to hide the scrollbars from the notebook windows while still being able to use the mousewheel to scroll? Since I never click on the bars themselves they're just a waste of space. It's ...
3
votes
3answers
727 views

How to save all notebook outputs as pdf file

I have produced a lot of graphs and tables in my notebook. I am trying to save all these outputs as pdf file. As we know form Rodney and form Mr. Wizard , we can not use save as function. I have ...
11
votes
1answer
1k views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
11
votes
2answers
403 views

Create new notebook at fixed size

Using Ctrl+n we are effectively doing FrontEndTokenExecute["New"] and, at least on Windows, a new window has a WindowSize equal ...
3
votes
1answer
58 views

How to wait a Cell in a Notebook to be executed until another Notebook's Cell expressions executed?

I have two Notebooks and I call the second Notebook from the main but main Notebook's expressions continue executing. I want them to wait until the second Notebook's expressions execution is finished! ...
10
votes
1answer
114 views

How to Copy formatted code without backslashes added?

By default code copied from the FrontEnd is formatted with backslashes added at the ends of lines. For example, evaluating in a Notebook Range[40] and copying ...
5
votes
1answer
39 views

Strange problem with Derivative and BoxForm`MakeDerivativeBoxes

All of the following three lines should produce the same output, but the third variant produces an error on output. ...
8
votes
2answers
105 views

Control of individual Framed edges?

Is there an option or method for Framed analogous to Frame in Graphics to control display of ...
3
votes
2answers
224 views

How can I change mouse hover behavior for hyperlinks in a notebook?

When I create a Hyperlink to a Youtube video in a text cell the link is colored blue like it would be in a browser. However, the mouse cursor does not change when ...
8
votes
4answers
267 views
1
vote
1answer
42 views

How to see Monitor temporary cell with ParallelSubmit?

I have a function to load large files into a "HSQL(Standalone)" database for processing that uses Monitor to update the ...
16
votes
0answers
103 views

Inconsistent handling of Dynamic option values; intended, omission, or bug?

In answering Dynamic ClipPlanes calculated from current ViewPoint Kuba and I got into a brief exchange regarding how Option values wrapped in Dynamic should be ...
6
votes
1answer
80 views

Testing Framework applications in the FrontEnd area

I understand that user interaction with GUI can't be tested automatically but some things can be tested using low-level notebook programming functions. Are there any guidelines or limitations of using ...
5
votes
2answers
1k views

How to close the (local) Debug window/palette

I have this local debug window that is so annoying How can I hide it? What is the purpose of it?
14
votes
2answers
202 views

How to prevent Dynamic activity with color swatches in V10+

Since version 10, if I type e.g. an RGBColor or simply a named color, a dynamic colour swatch is returned. Same goes for when you e.g. extract colours from a ...
18
votes
2answers
314 views

Understanding evaluation and typesetting

Background So, one could be surprised by the fact that: Hold @ Grid[{{1, 2}}] (*or*) Hold @ Graphics @ Disk[] This issue and methods of prevention are ...
0
votes
0answers
31 views

Copy-pasting a floating point number [duplicate]

Here is a behavior of the Mathematica front end which confuses me. Type N[Sqrt[2]] The displayed output is 1.41421 ...
9
votes
0answers
113 views

Why would killing the kernel defreeze/unhang the front end?

My Mathematica front end will freeze occasionally for unreproducible reasons. This seems mostly associated with long (> 1 hour) computations, although not exclusively. If I click on the Mathematica ...
6
votes
1answer
78 views

How to refuse close Dialog when press Esc Key

As you can see in the documentation of CreateDialog: If the dialog contains no DefaultButton or ...
6
votes
1answer
56 views

Notebooks created after prompting a Modal dialog

Bug reproduced in 10.3.1 and presisting through 10.4.1 From: Note: Modal dialogs will prevent users from accessing other notebooks in the front end while the ...
7
votes
0answers
102 views

Is there a syntax coloring type that highlights only when not in a list?

How do I define the syntax coloring of local variable of function myfunc so that it only colors the variable that is not in a ...
6
votes
4answers
477 views
1
vote
0answers
42 views

Stop front-end from auto-scrolling notebook to show output [closed]

I have made a simple "percent complete" output to track my For loop, where I incrementally print values and then delete the output right before printing the next ...
15
votes
3answers
820 views

Is it possible to insert an animated image into Mathematica notebook?

I find it very convenient to use Mathematica notebooks to organize the codes + results. I was wondering if it is possible to insert an animated image (say an animated gif) in the middle of a notebook....
1
vote
1answer
54 views

How can I recover from front end crash after debug session?

On Mathematica 10.3 running on Raspberry Pi 3, the debug session on the Front End hung and I had to kill the Front End. ( I now know better: better 'kill -9' the Kernel process and not the Front End)...
10
votes
1answer
2k views

How best to embed various cell groups into a $\LaTeX$ project?

I'm an author and a coder. I want to reference various parts of my notebooks in my $\LaTeX$ project. I've tried doing the following, using a post on the $\LaTeX$ side of this problem. I'd like to ...
5
votes
1answer
106 views

UseFrontEnd is not working the same in version 10.4

I'm using batch files to run Mathematica notebooks (with saved output) but in version 10.4 the functionality has changed. Any ideas how to get it working? I use a batch file to run a .m script which ...
3
votes
1answer
51 views

Image background for cell?

I'd like to make code Cells have a specific background image. I know you can do this for Notebooks, but what about Cells? This simple test fails: ...