The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

dtRdr::GUI::Wx::BVManager - a container of sorts

SYNOPSIS

This widget acts as a container for multiple book views and holding/finding various in-memory data.

Inheritance

  Wx::Panel

Constructor

new

Creates a frame.

  $bv = dtRdr::GUI::Wx::BVManager->new($parent, @blahblahblah);

Setup

init

  $bvm->init($frame);

show_welcome

  $bvm->show_welcome;

GUI Control

enable

  $bvm->enable('_profile');

disable

  $bvm->disable('_profile');

Hacks

The multi-view needs to be finished, at which point more of this will make more sense.

load_url

This API is probably stable, but the behavior will definitely change. Currently, this just loads directly in the widget unless there is a book open.

  $self->load_url($url);

Book

open_book

Opens the book object as the primary view.

  $bvm->open_book($book);

Notifications

_annotation_created

  $self->_annotation_created($anno);

_annotation_changed

  $self->_annotation_changed($anno);

_annotation_deleted

  $self->_annotation_deleted($anno);

Annotations

create_note

Open the note editor for a newly created note. Requires an existing note object which is not yet in the book.

  $bvm->create_note($note, %args);

edit_note

Edit an existing note.

  $bv->edit_note($note);

show_note

  $bvm->show_note($note);

Finding Views

This part is in flux.

find_book_views

  my @views = $bvm->find_book_views($book);

find_note_views

  my @views = $bvm->find_note_views($note);

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.