GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PADRE::WX::NOTEBOOK (3)

.ds Aq ’

NAME

Padre::Wx::Notebook - Notebook that holds a set of editor objects

CONTENTS

DESCRIPTION

<B>Padre::Wx::NotebookB> implements the tabbed notebook in the main window that stores the editors for open documents in Padre.

METHODS

    show_file



  $notebook->show_file(/home/user/path/script.pl);



The 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.

    pageids



    my @ids = $notebook->pageids;



Return a list of all current tab ids (integers) within the notebook.

    pages



    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).

    editors



    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.

    documents



    my @document = $notebook->documents;



Return a list of all current documents, in the specific order they are open in the notepad.

    prefix

The prefix method scans the list of all local documents, and finds the common root directory for all of them.

COPYRIGHT & LICENSE

Copyright 2008-2013 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PADRE::WX::NOTEBOOK (3) 2013-11-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.