Inherits from
- Interface: enthought.traits.has_traits.Interface
Attributes
- list_canvas_item_activated
The event fired when the list canvas item is activated:
list_canvas_item_activated = Event
- list_canvas_item_can_close
Can the list canvas item be closed?
list_canvas_item_can_close = Enum(True, False, Modified)
- list_canvas_item_can_drop
Can the current drag object be dropped on the list canvas item?
list_canvas_item_can_drop = Bool
- list_canvas_item_can_move
Can the list canvas item be moved?
list_canvas_item_can_move = Bool
- list_canvas_item_can_resize
Can the list canvas item be resized?
list_canvas_item_can_resize = Bool
- list_canvas_item_clone
Specifies the clone of the list canvas item:
list_canvas_item_clone = Instance(HasTraits)
- list_canvas_item_closed
Event fired when the list canvas item is closed:
list_canvas_item_closed = Event
- list_canvas_item_deactivated
The event fired when the list canvas item is de-activated:
list_canvas_item_deactivated = Event
- list_canvas_item_drag
Returns the draggable form of the list canvas item:
list_canvas_item_drag = Instance(HasTraits)
- list_canvas_item_drop
If the preceding two traits are implemented, then this trait should be implemented as well if you need to know what object is being dropped:
list_canvas_item_drop = Instance(HasTraits)
- list_canvas_item_dropped
The item (or list of items) to be added to the canvas when the current drag object is dropped on the list canvas item:
list_canvas_item_dropped = Any
- list_canvas_item_position
Specifies the initial position of the canvas list item when it is added to the canvas. The value is a tuple of the form: (x,y), where x and y values have the following meaning:
- value <= 0
- Use the default coordinate.
- 0 < value <= 1
- Use the specified fraction of the corresponding width or height dimension as the coordinate value.
- value > 1
- Use int(value) as the actual x or y coordinate specified in pixels.
list_canvas_item_position = Tuple(Float, Float)
- list_canvas_item_size
Specifies the initial size to make the canvas list item when it is added to the canvas. The value is a tuple of the form: (width,height), where the width and height values have the following meaning:
- value <= 0
- Use the default size.
- 0 < value <= 1
- Use the specified fraction of the corresponding width or height dimension.
- value > 1:
- Use int(value) as the actual width or height specified in pixels.
list_canvas_item_size = Tuple(Float, Float)
- list_canvas_item_theme_active
The theme to use for the list canvas item when it is active:
list_canvas_item_theme_active = ATheme
- list_canvas_item_theme_hover
The theme to use while the pointer hovers over the list canvas item:
list_canvas_item_theme_hover = ATheme
- list_canvas_item_theme_inactive
The theme to use for the list canvas item when it is inactive:
list_canvas_item_theme_inactive = ATheme
- list_canvas_item_title
The title to use for the list canvas item:
list_canvas_item_title = Str
- list_canvas_item_tooltip
Specifies the tooltip to display for the list canvas item:
list_canvas_item_tooltip = Str
- list_canvas_item_unique_id
The unique id of the list canvas item:
list_canvas_item_unique_id = Str
- list_canvas_item_view
Specifies the Traits UI View to use for the canvas list item when it is added to the canvas:
list_canvas_item_view = AView
- list_canvas_item_view_model
Specifies the view model used to represent the canvas list item when it is added to the canvas:
list_canvas_item_view_model = Instance(HasTraits)
Inherited from base classes
Method summary
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)