Module Expr Str ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str Str decorator_list Assign NameStore Num Assign NameStore Dict FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad If CompareGtE Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIn NameLoad Call NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore Num orelse Return Num If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body AugAssignAdd NameStore Num If CompareGt NameLoad Num body AugAssignAdd NameStore BinOpMult Num NameLoad orelse Return Num orelse Return Num If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad Call NameLoad NameLoad attr body If CompareIn AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Num Break orelse Return Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Call NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad NameLoad TupleLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore Dict Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareGtE NameLoad Num body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr GeneratorExp NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeStore NameLoad attr Call NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad decorator_list
N/A N/A  Declarative classes which implement style sheet styling.

 collections defaultdict atom.api Atom Unicode Typed observe enaml.application Application deferred_call enaml.core.declarative Declarative d_ Setter N/A Declarative N/A N/A  A declarative class for defining a style field setter.

    A :class:`Setter` is declared as a child of a :class:`Style`.
    It defines the value to be applied to a style field.

     N/A field N/A d_ N/A Unicode N/A value N/A d_ N/A Unicode destroy N/A N/A self N/A N/A N/A  A reimplemented destructor.

        This will notify the :class:`StyleCache` when the setter is
        destroyed.

         N/A N/A N/A N/A super Setter self destroy N/A N/A N/A StyleCache _setter_destroyed self N/A _invalidate_cache N/A N/A self change N/A N/A N/A N/A N/A change N/A type update N/A N/A N/A N/A StyleCache _setter_invalidated self N/A N/A observe field value N/A N/A _MAX_CACHE 2000 N/A _SPLIT_CACHE N/A _comma_split N/A N/A text N/A N/A N/A cache _SPLIT_CACHE N/A N/A text cache N/A N/A N/A cache N/A text N/A N/A N/A len cache _MAX_CACHE N/A N/A N/A N/A cache clear N/A result N/A tuple N/A N/A N/A s strip N/A s N/A N/A text split , s N/A N/A cache N/A text result N/A result N/A Style N/A Declarative N/A N/A  A declarative class for defining a style sheet style.

    A :class:`Style` is declared as a child of a :class:`StyleSheet`.
    It uses child :class:`Setter` objects to define the style fields
    to apply to widgets which are a match for the style.

    A :class:`Style` may have an arbitrary number of :class:`Setter`
    children.

     N/A element N/A d_ N/A Unicode N/A style_class N/A d_ N/A Unicode N/A object_name N/A d_ N/A Unicode N/A pseudo_class N/A d_ N/A Unicode N/A pseudo_element N/A d_ N/A Unicode setters N/A N/A self N/A N/A N/A  Get the :class:`Setter` objects declared for the style.

        Returns
        -------
        result : list
            The :class:`Setter` objects declared for the style.

         N/A N/A c N/A c N/A self children N/A isinstance c Setter N/A match N/A N/A self item N/A N/A N/A  Get whether or not the style matches an item.

        Parameters
        ----------
        item : :class:`Stylable`
            The item to test for a style match.

        Returns
        -------
        result : int
            The match value for the item. A value less than zero
            indicates no match. A value greater than or equal to zero
            indicates a match and the specificity of the match.

         N/A specificity 0 N/A N/A self object_name N/A N/A item_name N/A item name N/A N/A item_name N/A item_name N/A _comma_split N/A self object_name N/A N/A specificity 256 N/A N/A -1 N/A N/A self style_class N/A N/A item_class N/A item style_class N/A item_class N/A N/A count 0 N/A style_classes N/A _comma_split N/A self style_class N/A item_class N/A N/A item_class split N/A N/A N/A item_class style_classes N/A N/A count 1 N/A N/A count 0 N/A N/A specificity N/A 16 count N/A N/A -1 N/A N/A -1 N/A N/A self element N/A N/A elements N/A _comma_split N/A self element N/A t N/A N/A type item __mro__ N/A N/A N/A N/A t __name__ elements N/A N/A specificity 1 N/A N/A N/A -1 N/A specificity N/A destroy N/A N/A self N/A N/A N/A  A reimplemented destructor.

        This will notify the :class:`StyleCache` when the style is
        destroyed.

         N/A N/A N/A N/A super Style self destroy N/A N/A N/A StyleCache _style_destroyed self N/A child_added N/A N/A self child N/A N/A N/A  A reimplemented child added event handler.

        This will notify the :class:`StyleCache` if the :class:`Setter`
        children of the style have changed.

         N/A N/A N/A N/A super Style self child_added child N/A N/A N/A self is_initialized N/A isinstance child Setter N/A N/A N/A N/A StyleCache _style_setters_changed self N/A child_removed N/A N/A self child N/A N/A N/A  A reimplemented child removed event handler.

        This will notify the :class:`StyleCache` if the :class:`Setter`
        children of the style have changed.

         N/A N/A N/A N/A super Style self child_removed child N/A N/A N/A self is_initialized N/A isinstance child Setter N/A N/A N/A N/A StyleCache _style_setters_changed self N/A _invalidate_match_cache N/A N/A self change N/A N/A N/A N/A N/A change N/A type update N/A N/A N/A N/A StyleCache _style_match_invalidated self N/A N/A observe element style_class object_name _invalidate_pseudo_cache N/A N/A self change N/A N/A N/A N/A N/A change N/A type update N/A N/A N/A N/A StyleCache _style_pseudo_invalidated self N/A N/A observe pseudo_class pseudo_element N/A StyleSheet N/A Declarative N/A N/A  A declarative class for defining a widget style sheet.

    A :class:`StyleSheet` is declared as a child of a :class:`Stylable`
    widget. It uses child :class:`Style` objects to apply styling to its
    parent widget **and all of the widget's decendents**. A
    :class:`StyleSheet` can also be provided to the global
    :class:`Application <enaml.application.Application>`, in which case
    the styling will be applied to all stylable widgets. The effective
    style sheet for a widget is the union of all its ancestor style
    sheets plus the application style sheet.

    A :class:`StyleSheet` may have an arbitrary number of :class:`Style`
    children. The child style objects are applied to a widget in the
    order of their match specificity within the style sheet.

     destroy N/A N/A self N/A N/A N/A  A reimplemented destructor.

        This will notify the :class:`StyleCache` when the style sheet
        is destroyed.

         N/A N/A N/A N/A super StyleSheet self destroy N/A N/A N/A StyleCache _style_sheet_destroyed self N/A styles N/A N/A self N/A N/A N/A  Get the :class:`Style` objects declared for the style sheet.

        Returns
        -------
        result : list
            The :class:`Style` objects declared for the style sheet.

         N/A N/A c N/A c N/A self children N/A isinstance c Style N/A child_added N/A N/A self child N/A N/A N/A  A reimplemented child added event handler.

        This will notify the :class:`StyleCache` if the :class:`Style`
        children of the style sheet have changed.


         N/A N/A N/A N/A super StyleSheet self child_added child N/A N/A N/A self is_initialized N/A isinstance child Style N/A N/A N/A N/A StyleCache _style_sheet_styles_changed self N/A child_removed N/A N/A self child N/A N/A N/A  A reimplemented child removed event handler.

        This will notify the :class:`StyleCache` if the :class:`Style`
        children of the style sheet have changed.

         N/A N/A N/A N/A super StyleSheet self child_removed child N/A N/A N/A self is_initialized N/A isinstance child Style N/A N/A N/A N/A StyleCache _style_sheet_styles_changed self N/A N/A Stylable N/A Declarative N/A N/A  A mixin class for defining stylable declarative objects.

    This class can be used as a mixin with any
    :class:`Declarative <enaml.core.Declarative>` class which wishes
    to support style sheets.

     N/A style_class N/A d_ N/A Unicode destroy N/A N/A self N/A N/A N/A  A reimplemented destructor.

        This will notify the :class:`StyleCache` when the stylable item
        is destroyed.

         N/A N/A N/A N/A super Stylable self destroy N/A N/A N/A StyleCache _item_destroyed self N/A style_sheet N/A N/A self N/A N/A N/A  Get the :class:`StyleSheet` defined on the item.

        Returns
        -------
        result : :class:`StyleSheet` or None
            The last :class:`StyleSheet` child defined on the item,
            or None if the item has no such child.

         N/A child N/A reversed N/A self children N/A N/A N/A isinstance child StyleSheet N/A N/A child N/A restyle N/A N/A self N/A N/A N/A  Restyle the object.

        This method will be called when the style dependencies for the
        object have changed. It should be reimplemented in a subclass
        to take appropriate action for the restyle.

         N/A N/A parent_changed N/A N/A self old new N/A N/A N/A  A reimplemented parent changed event handler.

        This will notifiy the :class:`StyleCache` if the parent of
        the item has changed.

         N/A N/A N/A N/A super Stylable self parent_changed old new N/A N/A self is_initialized N/A N/A N/A N/A StyleCache _item_parent_changed self N/A child_added N/A N/A self child N/A N/A N/A  A reimplemented child added event handler.

        This will notify the :class:`StyleCache` if the
        :class:`StyleSheet` children of the item have changed.

         N/A N/A N/A N/A super Stylable self child_added child N/A N/A N/A self is_initialized N/A isinstance child StyleSheet N/A N/A N/A N/A StyleCache _item_style_sheet_changed self N/A child_removed N/A N/A self child N/A N/A N/A  A reimplemented child removed event handler.

        This will notify the :class:`StyleCache` if the
        :class:`StyleSheet` children of the item have changed.

         N/A N/A N/A N/A super Stylable self child_removed child N/A N/A N/A self is_initialized N/A isinstance child StyleSheet N/A N/A N/A N/A StyleCache _item_style_sheet_changed self N/A _invalidate_style_class N/A N/A self change N/A N/A N/A N/A N/A change N/A type update N/A N/A N/A N/A StyleCache _item_style_class_invalidated self N/A N/A observe style_class N/A _RestyleTask N/A Atom N/A N/A dirty N/A Typed set N/A __call__ N/A N/A self N/A N/A N/A N/A StyleCache _restyle_task None N/A item N/A self dirty N/A N/A N/A N/A item restyle N/A N/A _app_style_sheet N/A N/A N/A N/A N/A app N/A N/A Application instance N/A N/A app None N/A N/A sheet N/A app style_sheet N/A N/A N/A sheet None N/A N/A sheet is_initialized N/A N/A N/A N/A sheet initialize N/A sheet N/A StyleCache N/A object N/A N/A  An object which manages the styling caches.

    All interaction with this class is through public class methods.
    This class should be used by code which implements the styling for
    a stylable item. The public API methods can be used to query for
    the Style object which matchs a :class:`Stylable` item.

     N/A _item_style_sheets N/A N/A _item_styles N/A N/A _style_sheet_items N/A defaultdict set N/A _style_items N/A defaultdict set N/A _queried_items N/A set N/A _toolkit_setters N/A N/A _restyle_task None style_sheets N/A N/A cls item N/A N/A N/A  Get the :class:`StyleSheet` objects which apply to an item.

        Parameters
        ----------
        item : :class:`Stylable`
            The stylable item of interest.

        Returns
        -------
        result : tuple
            The :class:`StyleSheet` objects which apply to the item,
            in order of ascending precedence.

         N/A cache N/A cls _item_style_sheets N/A N/A item cache N/A N/A N/A cache N/A item N/A sheets N/A N/A parent N/A item parent N/A N/A parent None N/A N/A N/A N/A sheets extend N/A N/A cls style_sheets parent N/A N/A app_sheet N/A _app_style_sheet N/A N/A app_sheet None N/A N/A N/A N/A sheets append app_sheet N/A N/A isinstance item Stylable N/A N/A sheet N/A N/A item style_sheet N/A N/A sheet None N/A N/A N/A N/A sheets append sheet N/A sheet_items N/A cls _style_sheet_items N/A sheet sheets N/A N/A N/A N/A N/A sheet_items N/A sheet add item N/A sheets N/A cache N/A item N/A tuple sheets N/A N/A N/A N/A cls _queried_items add item N/A sheets N/A classmethod styles N/A N/A cls item N/A N/A N/A  Get the :class:`Style` objects which apply to an item.

        Parameters
        ----------
        item : :class:`Stylable`
            The stylable item of interest.

        Returns
        -------
        result : tuple
            The :class:`Style` objects which apply to the item, in
            order of ascending precedence.

         N/A cache N/A cls _item_styles N/A N/A item cache N/A N/A N/A cache N/A item N/A styles N/A N/A sheet N/A N/A cls style_sheets item N/A N/A matches N/A N/A style N/A N/A sheet styles N/A N/A specificity N/A N/A style match item N/A N/A specificity 0 N/A N/A N/A N/A matches append N/A specificity N/A len matches style N/A matches N/A N/A N/A N/A matches sort N/A N/A N/A styles extend N/A style N/A N/A _1 _2 style matches N/A style_items N/A cls _style_items N/A style styles N/A N/A N/A N/A N/A style_items N/A style add item N/A styles N/A cache N/A item N/A tuple styles N/A styles N/A classmethod toolkit_setter N/A N/A cls setter translate N/A N/A N/A  Get the toolkit representation of a setter.

        This method will return the cached toolkit setter, if available,
        or invoke the translator to create the cached setter. The cached
        toolkit setter will be cleared when the setter is invalidated.

        Parameters
        ----------
        setter : :class:`Setter`
            The style setter of interest.

        translate : callable
            A callable which accepts a single :class:`Setter` argument
            and returns a toolkit representation of the setter. The
            returned value is cached until the setter is invalidated.

        Returns
        -------
        result : object
            The toolkit representation of the setter.

         N/A cache N/A cls _toolkit_setters N/A N/A setter cache N/A N/A N/A cache N/A setter N/A result N/A cache N/A setter N/A translate setter N/A result N/A classmethod _setter_destroyed N/A N/A cls setter N/A N/A N/A N/A N/A N/A cls _toolkit_setters pop setter None N/A classmethod _style_destroyed N/A N/A cls style N/A N/A N/A N/A N/A N/A cls _style_items pop style None N/A classmethod _style_sheet_destroyed N/A N/A cls sheet N/A N/A N/A N/A N/A N/A cls _style_sheet_items pop sheet None N/A classmethod _item_destroyed N/A N/A cls item N/A N/A N/A N/A N/A N/A cls _queried_items discard item N/A sheets N/A N/A N/A cls _item_style_sheets pop item None N/A N/A sheets None N/A N/A sheet_items N/A cls _style_sheet_items N/A sheet sheets N/A N/A N/A sheet sheet_items N/A N/A N/A N/A N/A sheet_items N/A sheet discard item N/A styles N/A N/A N/A cls _item_styles pop item None N/A N/A styles None N/A N/A style_items N/A cls _style_items N/A style styles N/A N/A N/A style style_items N/A N/A N/A N/A N/A style_items N/A style discard item N/A classmethod _setter_invalidated N/A N/A cls setter N/A N/A N/A N/A N/A N/A cls _toolkit_setters pop setter None N/A items N/A N/A N/A cls _style_items get N/A setter parent N/A N/A items None N/A N/A N/A N/A cls _request_restyle items N/A classmethod _style_match_invalidated N/A N/A cls style N/A N/A N/A N/A N/A N/A cls _style_items pop style None N/A items N/A N/A N/A cls _style_sheet_items get N/A style parent N/A N/A items None N/A N/A cache N/A cls _item_styles N/A item items N/A N/A N/A N/A cache pop item None N/A N/A N/A cls _request_restyle items N/A classmethod _style_pseudo_invalidated N/A N/A cls style N/A N/A N/A items N/A N/A N/A cls _style_items get style N/A N/A items None N/A N/A N/A N/A cls _request_restyle items N/A classmethod _item_style_class_invalidated N/A N/A cls item N/A N/A N/A styles N/A N/A N/A cls _item_styles pop item None N/A N/A styles None N/A N/A style_items N/A cls _style_items N/A style styles N/A N/A N/A style style_items N/A N/A N/A N/A N/A style_items N/A style discard item N/A N/A N/A cls _request_restyle N/A item N/A classmethod _style_setters_changed N/A N/A cls style N/A N/A N/A items N/A N/A N/A cls _style_items get style N/A N/A items None N/A N/A N/A N/A cls _request_restyle items N/A classmethod _style_sheet_styles_changed N/A N/A cls sheet N/A N/A N/A items N/A N/A N/A cls _style_sheet_items get sheet None N/A N/A items None N/A N/A styles N/A cls _item_styles N/A item items N/A N/A N/A N/A styles pop item None N/A N/A N/A cls _request_restyle items N/A classmethod _item_parent_changed N/A N/A cls item N/A N/A N/A N/A N/A cls _item_style_sheet_changed item N/A classmethod _item_style_sheet_changed N/A N/A cls item N/A N/A N/A item_styles N/A cls _item_styles N/A item_sheets N/A cls _item_style_sheets N/A items N/A i N/A i N/A N/A item traverse N/A i N/A cls _queried_items N/A item items N/A N/A sheets N/A N/A item_sheets pop item None N/A N/A sheets None N/A N/A sheet_items N/A cls _style_sheet_items N/A sheet sheets N/A N/A N/A sheet sheet_items N/A N/A N/A N/A N/A sheet_items N/A sheet discard item N/A styles N/A N/A item_styles pop item None N/A N/A styles None N/A N/A style_items N/A cls _style_items N/A style styles N/A N/A N/A style style_items N/A N/A N/A N/A N/A style_items N/A style discard item N/A N/A N/A cls _request_restyle items N/A classmethod _app_sheet_changed N/A N/A cls N/A N/A N/A N/A cls _queried_items N/A N/A N/A N/A N/A cls _item_style_sheets clear N/A N/A N/A N/A cls _item_styles clear N/A N/A N/A N/A cls _style_sheet_items clear N/A N/A N/A N/A cls _style_items clear N/A N/A N/A cls _request_restyle N/A cls _queried_items N/A classmethod __new__ N/A N/A cls N/A args kwargs N/A N/A N/A TypeError Cannot create instances of StyleCache N/A _request_restyle N/A N/A cls items N/A N/A N/A task N/A cls _restyle_task N/A N/A task None N/A N/A task N/A cls _restyle_task N/A _RestyleTask N/A N/A deferred_call task N/A N/A N/A N/A task dirty update items N/A classmethod N/A