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::STATUSBAR (3)

.ds Aq ’

NAME

Padre::Wx::StatusBar - Encapsulates status bar customizations

CONTENTS

DESCRIPTION

Padre::Wx::StatusBar implements Padre’s status bar. It is the bottom pane holding various, err, status information on Padre.

The information shown are (in order):
o File name of current document, with a leading star if file has been updated and not saved
o (Optional) Icon showing status of background tasks
o (Optional) MIME type of current document
o Type of end of lines of current document
o Position in current document
It inherits from Wx::StatusBar, so check Wx documentation to see all the available methods that can be applied to it besides the added ones (see below).

METHODS

CWnew



    my $statusbar = Padre::Wx::StatusBar->new( $main );



Create and return a new Padre status bar. One should pass the $main Padre window as argument, to get a reference to the status bar parent.

CWclear



    $statusbar->clear;



Clear all the status bar fields, i.e. they will display an empty string in all fields.

CWsay



    $statusbar->say(Hello World!);



Temporarily overwrite only the leftmost filename part of the status bar.

It will return to it’s normal value when the status bar is next refreshed for normal reasons (such as a keystroke or a file panel switch).

CWrefresh



    $statusbar->refresh;



Force an update of the document fields in the status bar.

CWupdate_task_status



    $statusbar->update_task_status;



Checks whether a task status icon update is in order and if so, changes the icon to one of the other states

CWupdate_pos



    $statusbar->update_pos;



Update the cursor position

CWon_resize



    $statusbar->on_resize( $event );



Handler for the EVT_SIZE $event. Used to move the task load bitmap to its position.

SEE ALSO

Icons for background status courtesy of Mark James, at <http://www.famfamfam.com/lab/icons/silk/>.

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::STATUSBAR (3) 2013-11-09

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