def get_value(self, class_name, attr, default_value=None,
                  state='normal', base_name='View'):
        """Get a single style attribute value for the given class.

        """
        styles = self.get_dict_for_class(class_name, state, base_name)
        try:
            return styles[attr]
        except __HOLE__:
            return default_value
dataset/ETHPy150Open fictorial/pygameui/pygameui/theme.py/Theme.get_value