NAME
App::MathImage::Wx::Main -- math-image wxWidgets main window
SYNOPSIS
use App::MathImage::Wx::Main;
my $main = App::MathImage::Wx::Main->new;
$main->Show;
CLASS HIERARCHY
App::MathImage::Wx::Main
is a Wx::Frame
toplevel window.
Wx::Object
Wx::EvtHandler
Wx::Window
Wx::TopLevelWindow
Wx::Frame
App::MathImage::Wx::Main
DESCRIPTION
This is the main toplevel window for the math-image program wxWidgets interface.
+-------------------------------------------+
| File Tools Help |
+-------------------------------------------+
| Randomize Square Spiral Primes ... |
+-------------------------------------------+
| * * * * * * * * * |
| * * * |
|* * * * * * * * * * * |
| * * * * * * * * * * * * |
| * * * * |
| * * * ** * * * * * * |
|* * * * * |
| * * |
|* * * * * * * * * * * * *|
| * * * * * * * * |
+-------------------------------------------+
| x=9, y=4 N=302 |
+-------------------------------------------+
FUNCTIONS
$main = App::MathImage::Wx::Main->new ()
$main = App::MathImage::Wx::Main->new ($parent, $id, $title)
-
Create and return a new main window.
The optional
$parent
,$id
and$title
arguments are perWx::Frame->new()
. Usually they can be omitted for a standalone window.
Methods
$main->randomize ()
-
Display a random combination of path, values, figure, etc. This is the toolbar randomize button.
$main->toggle_fullscreen ()
-
Toggle the window between fullscreen and normal. This is the Tools/Fullscreen menu entry.
Help
$main->popup_program_pod()
$main->popup_path_pod()
$main->popup_values_pod()
-
Open a
Wx::Perl::PodBrowser
window showing the POD documentation for either themath-image
program, the currently selected path module, or currently selected values module. These are the "Help/Program POD" etc menu entries. $main->oeis_browse()
-
Open a web browser on the OEIS page for the currently selected sequence. This is the Help/OEIS menu entry.
About
$main->popup_about_dialog()
-
Open the "about" dialog for
$main
. This is the Help/About menu entry. It displays aWx::AboutBox()
with the$main->about_dialog_info()
below. $info = $main->about_dialog_info()
-
Return a
Wx::AboutDialogInfo
object with information about$main
.
SEE ALSO
HOME PAGE
http://user42.tuxfamily.org/math-image/index.html
LICENSE
Copyright 2011, 2012, 2013, 2014, 2019 Kevin Ryde
Math-Image is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
Math-Image is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Math-Image. If not, see http://www.gnu.org/licenses/.