Package zeroinstall :: Package gtkui :: Module help_box :: Class HelpBox
[frames] | no frames]

Class HelpBox

source code

object --+
         |
        HelpBox

A dialog for showing longish help texts. The GTK widget is not created until display is called.

Instance Methods
 
__init__(self, title, *sections)
Constructor.
source code
 
display(self)
Display this help text.
source code

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

Class Variables
  box = None
Create a new digest.
  title = None
Create a new digest.
  sections = None
Create a new digest.
Properties

Inherited from object: __class__

Method Details

__init__(self, title, *sections)
(Constructor)

source code 

Constructor.

Parameters:
  • title - window title
  • sections ([(str, str)]) - the content, as a list of (section_title, section_body) pairs
Overrides: object.__init__

display(self)

source code 

Display this help text. If it is already displayed, close the old window first.