Padre::Wx::Role::Dwell man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Padre::Wx::Role::DwellUser Contributed Perl DocumentaPadre::Wx::Role::Dwell(3)

NAME
       Padre::Wx::Role::Dwell - Convenience methods for implementing dwell
       timers

DESCRIPTION
       This role implements a set of methods for letting Wx objects in Padre
       implement dwell events on elements that do not otherwise natively
       support them.

       In this initial simplified implementation, we support only one common
       dwell event for each combination of object class and dwell method.

       If multiple instances of a class are used, then the timer id will
       collide across multiple timers and unexpected behaviour may occur.

METHODS
   dwell_start
	 # Half second dwell timer on a text input
	 $wx_object->dwell_start( 'on_text', 500 );

       The "dwell_start" method starts (or restarts) the dwell timer.

       It has two required parameters of the method to call, and the amount of
       time (in thousands of a second) that the event should be delayed.

       Note that when the dwell-delayed event is actually called, it will NOT
       be passed the original Wx event object. The method will be called
       directly and with no parameters.

       Please note that calling this method will result in the creating of a
       Wx::Timer object in an object HASH slot that matches the name of the
       method.

       As a result, if you wish to create a dwell to a method "foo" you may
       never make use of the "$wx_object->{foo}" slot on that object.

   dwell_stop
	 $wx_object->dwell_stop( 'on_text' );

       The "dwell_stop" method prevents a single named dwell event from
       firing, if there is a timer underway.

       If there is no dwell for the named event the method will silently
       succeed.

COPYRIGHT & LICENSE
       Copyright 2008-2011 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 5 itself.

       The full text of the license can be found in the LICENSE file included
       with this module.

perl v5.14.1			  2011-06-18	     Padre::Wx::Role::Dwell(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net