Inherits from
- Window: enthought.pyface.window.Window
Attributes
- cancel_button_label
Label for the 'cancel' button
cancel_button_label = Str('Cancel')
- dialog_area_border
The size of the border around the dialog area.
dialog_area_border = Int(5)
- help_button_label
Label for the 'help' button
help_button_label = Str('Help')
- help_id
The context sensitive help Id (the 'Help' button is only shown iff this is set).
help_id = Str
- ok_button_label
Label for the 'ok' button
ok_button_label = Str('OK')
- resizeable
Is the dialog resizeable?
resizeable = Bool(True)
- RESULT_MAP
RESULT_MAP = { Getattr(Name('wx'), 'ID_OK') : Name('OK'), Getattr(Name('wx'), 'ID_CANCEL') : Name('CANCEL'), Getattr(Name('wx'), 'ID_YES') : Name('YES'), Getattr(Name('wx'), 'ID_NO') : Name('NO'), Getattr(Name('wx'), 'ID_CLOSE') : Name('CANCEL'), Const(0) : Name('CANCEL') } - STYLE
Default dialog style.
STYLE = (wx.DEFAULT_DIALOG_STYLE | wx.CLIP_CHILDREN)
- style
The dialog style (is is modal or not!).
style = Enum('modal', 'nonmodal')
- title
The dialog title.
title = Str('Dialog')
Inherited from base classes
Method summary
- open(self)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __prefix_trait__(self, name)
- __reduce_ex__(self, protocol)
- __setstate__(self, state)
- add_class_trait(cls, name, *trait)
- add_trait(self, name, *trait)
- add_trait_category(cls, category)
- add_trait_listener(self, object, prefix = '')
- all_trait_names(self)
- base_trait(self, name)
- class_default_traits_view(cls)
- class_editable_traits(cls)
- class_trait_names(cls, **metadata)
- class_trait_view(cls, name = None, view_element = None)
- class_trait_view_elements(cls)
- class_traits(cls, **metadata)
- clone_traits(self, traits = None, memo = None, copy = None, **metadata)
- close(self)
- configure_traits(self, filename = None, view = None, kind = None, edit = True, context = None, handler = None, id = '', scrollable = None, **args)
- copy_traits(self, other, traits = None, memo = None, copy = None, **metadata)
- copyable_trait_names(self, **metadata)
- default_traits_view(self)
- edit_traits(self, view = None, parent = None, kind = None, context = None, handler = None, id = '', scrollable = None, **args)
- editable_traits(self)
- get(self, *names, **metadata)
- invoke_later(self, callable, *args, **kw)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same')
- print_traits(self, show_help = False, **metadata)
- refresh(self)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- set(self, trait_change_notify = True, **traits)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- set_trait_later(self, obj, trait_name, new)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_subclasses(cls, all = False)
- trait_view(self, name = None, view_element = None)
- trait_view_elements(self)
- trait_views(self, klass = None)
- traits(self, **metadata)
- validate_trait(self, name, value)
Methods
- open(self)
Opens the window.