Package distutils :: Package command :: Module bdist_msi :: Class PyDialog
[hide private]
[frames] | no frames]

Class PyDialog

msilib.Dialog --+
                |
               PyDialog

Dialog class with a fixed layout: controls at the top, then a ruler, then a list of buttons: back, next, cancel. Optionally a bitmap at the left.

Instance Methods [hide private]
 
__init__(database, name, x, y, w, h, attributes, title, first, default, cancel, bitmap=true)
 
title(self, title)
Set the title text of the dialog at the top.
 
back(self, title, next, name="Back", active=1)
Add a back button with a given title, the tab-next button, its name in the Control table, possibly initially disabled.
 
cancel(self, title, next, name="Cancel", active=1)
Add a cancel button with a given title, the tab-next button, its name in the Control table, possibly initially disabled.
 
next(self, title, next, name="Next", active=1)
Add a Next button with a given title, the tab-next button, its name in the Control table, possibly initially disabled.
 
xbutton(self, name, title, next, xpos)
Add a button with a given title, the tab-next button, its name in the Control table, giving its x position; the y-position is aligned with the other buttons.
Method Details [hide private]

back(self, title, next, name="Back", active=1)

 

Add a back button with a given title, the tab-next button, its name in the Control table, possibly initially disabled.

Return the button, so that events can be associated

cancel(self, title, next, name="Cancel", active=1)

 

Add a cancel button with a given title, the tab-next button, its name in the Control table, possibly initially disabled.

Return the button, so that events can be associated

next(self, title, next, name="Next", active=1)

 

Add a Next button with a given title, the tab-next button, its name in the Control table, possibly initially disabled.

Return the button, so that events can be associated

xbutton(self, name, title, next, xpos)

 

Add a button with a given title, the tab-next button, its name in the Control table, giving its x position; the y-position is aligned with the other buttons.

Return the button, so that events can be associated