Padre::Wx::Notebook - Notebook that holds a set of editor objects
Padre::Wx::Notebook implements the tabbed notebook in the main window that stores the editors for open documents in Padre.
show_file method takes a single parameter of a fully resolved filesystem path, finds the notebook page containing the editor for that file, and sets that editor to be the currently selected foreground page.
Returns true if found and displayed, or false otherwise.
my @ids = $notebook->pageids;
Return a list of all current tab ids (integers) within the notebook.
my @pages = $notebook->pages;
Return a list of all notebook tabs. Those are the real objects, not page ids, and should be Padre::Wx::Editor objects (although they are not guarenteed to be).
my @editors = $notebook->editors;
Return a list of all current editors. Those are the real objects, not page ids, and are guarenteed to be Padre::Wx::Editor objects.
Note: for now, this has the same meaning as the
pages method, but this will change once we get specialised non-text entry tabs.
my @document = $notebook->documents;
Return a list of all current documents, in the specific order they are open in the notepad.
prefix method scans the list of all local documents, and finds the common root directory for all of them.
Copyright 2008-2012 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.