NAME
dtRdr::GUI::Wx::Frame - base class for the main frame
SYNOPSIS
This gives finer-grained control than inheriting Wx::Frame directly.
Constructor
new
$frame = dtRdr::GUI::Wx::Frame->new(
$parent,
$id,
$title,
$pos,
$size,
$style,
$name
);
Methods
init
$frame->init;
init_menumap
Build the menu map.
$self->init_menumap;
Misc
setup
Sets-up event handlers and such
$self->setup;
_disable_not_dones
$self->_disable_not_dones;
setup_progressbar
$self->setup_progressbar;
Sidebar Control
sidebar_changed
$self->sidebar_changed($event);
sidebar_toggle
$self->sidebar_toggle($event);
sidebar_open
$frame->sidebar_open
sidebar_close
$frame->sidebar_close
activate_sidebar
$frame->activate_sidebar($event);
activate_reader
$frame->activate_reader($event);
Menu Events
menu_file_open
$frame->menu_file_open($event);
backend_file_open
$frame->backend_file_open($filename);
_open_first_book
A hack.
$frame->_open_first_book;
menu_file_add_book
$frame->menu_file_add_book;
menu_file_exit
Close.
menu_view_source
Display the document source.
$frame->menu_view_source;
menu_view_toggle_sidebar
menu_view_zoom_in
$frame->menu_view_zoom_in
menu_view_zoom_out
$frame->menu_view_zoom_out
menu_navigation_history_back
$self->menu_navigation_history_back($event);
menu_navigation_history_next
$self->menu_navigation_history_next($event);
menu_help_license
$frame->menu_help_license;
menu_help_about
$frame->menu_help_about;
Toolbar Events
menu_tb_highlight
$frame->menu_tb_highlight($event);
menu_tb_note
$frame->menu_tb_note($evt);
menu_tb_bookmark
$self->menu_tb_bookmark($event);
menu_file_print
$self->menu_file_print_page($event);
menu_navigation_page_up
$frame->menu_navigation_page_up($event)
menu_navigation_page_down
$frame->menu_navigation_page_down($event)
Overridden Methods
Show
Currently assumes that new() did make_splash();
$frame->Show(1);
error
$self->error($message);
enable
Turn on an item or profile.
$frame->enable($item);
disable
Turn off an item or profile.
$frame->disable($item);
_enabler
$self->_enabler($name, $val);
Splash stuff
make_splash
Not currently for public consumption.
$frame->make_splash();
kill_splash
$frame->kill_splash;
AUTHOR
Eric Wilhelm <ewilhelm at cpan dot org>
http://scratchcomputing.com/
COPYRIGHT
Copyright (C) 2006 Eric L. Wilhelm and Osoft, All Rights Reserved.
NO WARRANTY
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.
LICENSE
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.