Get a list of all the names of this class' traits. This method is just like the :meth:`trait_names` method, but is unbound.
(cls: type[HasTraits], **metadata: t.Any)
| 1773 | |
| 1774 | @classmethod |
| 1775 | def class_trait_names(cls: type[HasTraits], **metadata: t.Any) -> list[str]: |
| 1776 | """Get a list of all the names of this class' traits. |
| 1777 | |
| 1778 | This method is just like the :meth:`trait_names` method, |
| 1779 | but is unbound. |
| 1780 | """ |
| 1781 | return list(cls.class_traits(**metadata)) |
| 1782 | |
| 1783 | @classmethod |
| 1784 | def class_traits(cls: type[HasTraits], **metadata: t.Any) -> dict[str, TraitType[t.Any, t.Any]]: |