Skip to content

Commit

Permalink
update docs for config saving from GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Mar 16, 2016
1 parent 9a96a34 commit a3ef83f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/GUI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ Graphical user interface

A simple graphical user interface (GUI) is available, including a "preview" window.
At this time a useful subset of features is implemented.
User configuration files can be saved and loaded using the File menu.
As shown below, on Mac OSX this is located at the top of the screen;
on other Unix-like systems and Windows the menu is part of the floating GUI window.
When a config file is loaded with "Read config", it is combined with the existing configuration
so, for example, the user can a new colour scheme over an existing set of colour parameters.
If this behaviour is not desired, use "Reset config" before "Read config".

.. figure:: ../images/gui.png
:align: center
Expand Down
Binary file modified images/gui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion scripts/ascii-phonons-gui
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class Application(tk.Frame):
def add_montage_row(self):
self.montage = tk.BooleanVar(value=False)
tk.Checkbutton(self.LeftFrame, text="Show all modes as montage",
variable=self.montage).pack(side="top", fill="x")
variable=self.montage).pack(side="top")

def add_frame_row(self):
self.start_frame = tk.IntVar(value=0)
Expand Down

0 comments on commit a3ef83f

Please sign in to comment.