Package peppy :: Package actions :: Module minibuffer :: Class Minibuffer
[frames] | no frames]

Class Minibuffer

      object --+    
               |    
debug.debugmixin --+
                   |
                  Minibuffer
Known Subclasses:

Base class for an action that is implemented using the minibuffer. Minibuffer is a concept from emacs where, instead of popping up a dialog box, uses the bottom of the screen as a small user input window.

Instance Methods
 
__init__(self, mode, action, label=None, error=None, initial=None, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
createWindow(self)
Create a window that represents the minibuffer, and set self.win to that window.
 
focus(self)
Set the focus to the component in the menubar that should get the text focus.
 
close(self)
Destroy the minibuffer widgets.
 
removeFromParent(self)
Convenience routine to destroy minibuffer after the event loop exits.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods

Inherited from debug.debugmixin: dprint

Class Variables
  label = 'Input:'
  error = 'Bad input.'

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from object: __class__

Method Details

__init__(self, mode, action, label=None, error=None, initial=None, **kwargs)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)