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.
|
__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. |
|
|