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


dotReader documentation  | view source Contained in the dotReader distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

Inheritance

Top

  Wx::Panel

Constructor

Top

new

Creates a frame.

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

Setup

Top

init

  $bvm->init($frame);

show_welcome

  $bvm->show_welcome;

GUI Control

Top

enable

  $bvm->enable('_profile');

disable

  $bvm->disable('_profile');

Hacks

Top

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

Top

open_book

Opens the book object as the primary view.

  $bvm->open_book($book);

Notifications

Top

_annotation_created

  $self->_annotation_created($anno);

_annotation_changed

  $self->_annotation_changed($anno);

_annotation_deleted

  $self->_annotation_deleted($anno);

Annotations

Top

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

Top

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

Top

Eric Wilhelm <ewilhelm at cpan dot org>

http://scratchcomputing.com/

COPYRIGHT

Top

NO WARRANTY

Top

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

Top

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.


dotReader documentation  | view source Contained in the dotReader distribution.