dtRdr::GUI::Wx::Frame - base class for the main frame
This gives finer-grained control than inheriting Wx::Frame directly.
See dtRdr::GUI::Wx::Frame0
$self->_create_children;
$frame->init;
Build the menu map.
$self->init_menumap;
Sets-up event handlers and such
$self->setup;
$self->_disable_not_dones;
$self->setup_progressbar;
$self->sidebar_changed($event);
$self->sidebar_toggle($event);
$frame->sidebar_open
$frame->sidebar_close
$frame->activate_sidebar($event);
$frame->activate_reader($event);
$frame->menu_file_open($event);
$frame->backend_file_open($filename);
A hack.
$frame->_open_first_book;
$frame->menu_file_add_book;
Close.
Display the document source.
$frame->menu_view_source;
Toggles the embedded note viewer visibility.
Menu callbacks which activate the respective <foo> sidebar item.
$frame->menu_view_zoom_in
$frame->menu_view_zoom_out
$self->menu_navigation_history_back($event);
$self->menu_navigation_history_next($event);
This will need to change when we are dealing with multiple servers.
$frame->menu_connect_anno_sync;
$frame->menu_connect_anno_settings;
$frame->menu_help_license;
$frame->menu_help_about;
$frame->menu_tb_highlight($event);
$frame->menu_tb_note($evt);
$self->menu_tb_bookmark($event);
$self->menu_file_print_page($event);
$frame->menu_navigation_page_up($event)
$frame->menu_navigation_page_down($event)
Currently assumes that new() did make_splash();
$frame->Show(1);
Set the frame title (with app name) according to preferences.
$self->set_title($string);
Use this instead of calling SetTitle() directly.
Show a (blocking) error dialog.
$frame->error($message);
Run a subroutine while showing a busy cursor.
my $retval = $frame->busy(sub {...});
Sets a status message and returns an object which resets the status text when it goes out of scope.
{ # some lexical scope my $kitten = $frame->mew($text); } # no more kitten :'(
Lock the user input. Returns an object which unlocks it when destroyed.
my $lock = $frame->lock_gui;
Turn on an item or profile.
$frame->enable($item);
Turn off an item or profile.
$frame->disable($item);
$self->_enabler($name, $val);
Not currently for public consumption.
$frame->make_splash();
$frame->kill_splash;
Eric Wilhelm <ewilhelm at cpan dot org>
http://scratchcomputing.com/
Copyright (C) 2006-2007 Eric L. Wilhelm and Osoft, All Rights Reserved.
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
The dotReader(TM) is OSI Certified Open Source Software licensed under the GNU General Public License (GPL) Version 2, June 1991. Non-encrypted and encrypted packages are usable in connection with the dotReader(TM). The ability to create, edit, or otherwise modify content of such encrypted packages is self-contained within the packages, and NOT provided by the dotReader(TM), and is addressed in a separate commercial license.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
To install dtRdr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm dtRdr
CPAN shell
perl -MCPAN -e shell install dtRdr
For more information on module installation, please visit the detailed CPAN module installation guide.