__init__(self,
title,
default_width=None,
default_height=None,
mask_type=None,
close_callback=None,
modal=True,
window_hint=gtk.gdk.WINDOW_TYPE_HINT_DIALOG,
window_pos=None,
skip_taskbar_hint=True,
resizable=False)
(Constructor)
| source code
|
Initialize DialogBox class.
- Parameters:
title - Dialog title.
default_width - Width of dialog, default is None.
default_height - Height of dialog, default is None.
mask_type - Background mask type, it allow use below type:
-
DIALOG_MASK_SINGLE_PAGE single mask style, use in single
page that background mask include dialog button area.
-
DIALOG_MASK_GLASS_PAGE glass mask style, similar
DIALOG_MASK_SINGLE_PAGE but with different color.
-
DIALOG_MASK_MULTIPLE_PAGE multiple mask style, use in
multiple page that background mask not include dialog button
area.
-
DIALOG_MASK_TAB_PAGE tab mask style, use in
preference page that background mask not include button area.
- Overrides:
window.Window.__init__
|