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

Class HelpBox

source code

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
Class Variables
  box = None
Create a new digest.
  title = None
Create a new digest.
  sections = None
Create a new digest.
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

display(self)

source code 

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