Inherits from
- HasPrivateTraits: enthought.traits.has_traits.HasPrivateTraits
Attributes
Inherited from base classes
Method summary
- array_editor(self, *args, **traits)
- boolean_editor(self, *args, **traits)
- button_editor(self, *args, **traits)
- check_list_editor(self, *args, **traits)
- code_editor(self, *args, **traits)
- color_editor(self, *args, **traits)
- color_trait(self, *args, **traits)
- compound_editor(self, *args, **traits)
- constants(self)
- custom_editor(self, *args, **traits)
- destroy_children(self, control)
- destroy_control(self, control)
- directory_editor(self, *args, **traits)
- dnd_editor(self, *args, **traits)
- drop_editor(self, *args, **traits)
- enum_editor(self, *args, **traits)
- file_editor(self, *args, **traits)
- font_editor(self, *args, **traits)
- font_trait(self, *args, **traits)
- history_editor(self, *args, **traits)
- hook_events(self, ui, control, events = None, handler = None)
- html_editor(self, *args, **traits)
- image_editor(self, *args, **traits)
- image_enum_editor(self, *args, **traits)
- image_size(self, image)
- instance_editor(self, *args, **traits)
- key_binding_editor(self, *args, **traits)
- key_event_to_name(self, event)
- kiva_font_trait(self, *args, **traits)
- list_editor(self, *args, **traits)
- list_str_editor(self, *args, **traits)
- null_editor(self, *args, **traits)
- ordered_set_editor(self, *args, **traits)
- plot_editor(self, *args, **traits)
- position(self, ui)
- range_editor(self, *args, **traits)
- rebuild_ui(self, ui)
- rgb_color_editor(self, *args, **traits)
- rgb_color_trait(self, *args, **traits)
- rgba_color_editor(self, *args, **traits)
- rgba_color_trait(self, *args, **traits)
- route_event(self, ui, event)
- save_window(self, ui)
- set_icon(self, ui)
- set_title(self, ui)
- shell_editor(self, *args, **traits)
- show_help(self, ui, control)
- table_editor(self, *args, **traits)
- tabular_editor(self, *args, **traits)
- text_editor(self, *args, **traits)
- themed_cell_renderer(self, column)
- title_editor(self, *args, **traits)
- tree_editor(self, *args, **traits)
- tuple_editor(self, *args, **traits)
- ui_editor(self)
- ui_info(self, ui, parent)
- ui_live(self, ui, parent)
- ui_livemodal(self, ui, parent)
- ui_modal(self, ui, parent)
- ui_nonmodal(self, ui, parent)
- ui_panel(self, ui, parent)
- ui_popover(self, ui, parent)
- ui_popup(self, ui, parent)
- ui_subpanel(self, ui, parent)
- ui_wizard(self, ui, parent)
- value_editor(self, *args, **traits)
- view_application(self, context, view, kind = None, handler = None, id = '', scrollable = None, args = None)
Inherited from base classes
- __deepcopy__(self, memo)
- __getstate__(self)
- __prefix_trait__(self, name, is_set)
- __reduce_ex__(self, protocol)
- __setstate__(self, state, trait_change_notify = True)
- 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)
- 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)
- has_traits_interface(self, *interfaces)
- on_trait_change(self, handler, name = None, remove = False, dispatch = 'same', priority = False, deferred = False)
- print_traits(self, show_help = False, **metadata)
- remove_trait(self, name)
- remove_trait_listener(self, object, prefix = '')
- reset_traits(self, traits = None, **metadata)
- set_trait_dispatch_handler(cls, name, klass, override = False)
- sync_trait(self, trait_name, object, alias = None, mutual = True, remove = False)
- trait(self, name, force = False, copy = False)
- trait_context(self)
- trait_get(self, *names, **metadata)
- trait_monitor(cls, handler, remove = False)
- trait_names(self, **metadata)
- trait_set(self, trait_change_notify = True, **traits)
- trait_setq(self, **traits)
- 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
- array_editor(self, *args, **traits)
- boolean_editor(self, *args, **traits)
- check_list_editor(self, *args, **traits)
- code_editor(self, *args, **traits)
- color_editor(self, *args, **traits)
- color_trait(self, *args, **traits)
- compound_editor(self, *args, **traits)
- constants(self)
Returns a dictionary of useful constants.
Currently, the dictionary should have the following key/value pairs:
- WindowColor': the standard window background color in the toolkit specific color format.
- custom_editor(self, *args, **traits)
- destroy_children(self, control)
Destroys all of the child controls of a specified GUI toolkit control.
- destroy_control(self, control)
Destroys a specified GUI toolkit control.
- directory_editor(self, *args, **traits)
- dnd_editor(self, *args, **traits)
- drop_editor(self, *args, **traits)
- enum_editor(self, *args, **traits)
- file_editor(self, *args, **traits)
- font_editor(self, *args, **traits)
- font_trait(self, *args, **traits)
- history_editor(self, *args, **traits)
- hook_events(self, ui, control, events = None, handler = None)
Hooks all specified events for all controls in a UI so that they can be routed to the correct event handler.
- html_editor(self, *args, **traits)
- image_editor(self, *args, **traits)
- image_enum_editor(self, *args, **traits)
- image_size(self, image)
Returns a ( width, height ) tuple containing the size of a specified toolkit image.
- instance_editor(self, *args, **traits)
- key_binding_editor(self, *args, **traits)
- key_event_to_name(self, event)
Converts a keystroke event into a corresponding key name.
- kiva_font_trait(self, *args, **traits)
- list_editor(self, *args, **traits)
- list_str_editor(self, *args, **traits)
- null_editor(self, *args, **traits)
- ordered_set_editor(self, *args, **traits)
- plot_editor(self, *args, **traits)
- position(self, ui)
Positions the associated dialog window on the display.
- range_editor(self, *args, **traits)
- rebuild_ui(self, ui)
Rebuilds a UI after a change to the content of the UI.
- rgb_color_editor(self, *args, **traits)
- rgb_color_trait(self, *args, **traits)
- rgba_color_editor(self, *args, **traits)
- rgba_color_trait(self, *args, **traits)
- route_event(self, ui, event)
Routes a "hooked" event to the corrent handler method.
- save_window(self, ui)
Saves user preference information associated with a UI window.
- set_icon(self, ui)
Sets the icon for the UI window.
- set_title(self, ui)
Sets the title for the UI window.
- shell_editor(self, *args, **traits)
- show_help(self, ui, control)
Shows a Help window for a specified UI and control.
- table_editor(self, *args, **traits)
- tabular_editor(self, *args, **traits)
- text_editor(self, *args, **traits)
- themed_cell_renderer(self, column)
Returns a renderer used to render 'themed' table cells for a specified TableColum object.
- title_editor(self, *args, **traits)
- tree_editor(self, *args, **traits)
- tuple_editor(self, *args, **traits)
- ui_editor(self)
- ui_info(self, ui, parent)
Creates a GUI-toolkit-specific temporary "live update" popup dialog user interface using information from the specified UI object.
- ui_live(self, ui, parent)
Creates a GUI-toolkit-specific non-modal "live update" window user interface using information from the specified UI object.
- ui_livemodal(self, ui, parent)
Creates a GUI-toolkit-specific modal "live update" dialog user interface using information from the specified UI object.
- ui_modal(self, ui, parent)
Creates a GUI-toolkit-specific modal dialog user interface using information from the specified UI object.
- ui_nonmodal(self, ui, parent)
Creates a GUI-toolkit-specific non-modal dialog user interface using information from the specified UI object.
- ui_panel(self, ui, parent)
Creates a GUI-toolkit-specific panel-based user interface using information from the specified UI object.
- ui_popover(self, ui, parent)
Creates a GUI-toolkit-specific temporary "live update" popup dialog user interface using information from the specified UI object.
- ui_popup(self, ui, parent)
Creates a GUI-toolkit-specific temporary "live update" popup dialog user interface using information from the specified UI object.
- ui_subpanel(self, ui, parent)
Creates a GUI-toolkit-specific subpanel-based user interface using information from the specified UI object.
- ui_wizard(self, ui, parent)
Creates a GUI-toolkit-specific wizard dialog user interface using information from the specified UI object.
- value_editor(self, *args, **traits)
- view_application(self, context, view, kind = None, handler = None, id = '', scrollable = None, args = None)
- Creates a GUI-toolkit-specific modal dialog user interface that
- runs as a complete application using information from the specified View object.
Parameters
- context : object or dictionary
- A single object or a dictionary of string/object pairs, whose trait attributes are to be edited. If not specified, the current object is used.
- view : view or string
- A View object that defines a user interface for editing trait attribute values.
- kind : string
- The type of user interface window to create. See the enthought.traits.ui.view.kind_trait trait for values and their meanings. If kind is unspecified or None, the kind attribute of the View object is used.
- handler : Handler object
- A handler object used for event handling in the dialog box. If None, the default handler for Traits UI is used.
- id : string
- A unique ID for persisting preferences about this user interface, such as size and position. If not specified, no user preferences are saved.
- scrollable : Boolean
- Indicates whether the dialog box should be scrollable. When set to True, scroll bars appear on the dialog box if it is not large enough to display all of the items in the view at one time.