Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielcnr/enaml-extensions
Extra widgets for Enaml
https://github.com/gabrielcnr/enaml-extensions
Last synced: 26 days ago
JSON representation
Extra widgets for Enaml
- Host: GitHub
- URL: https://github.com/gabrielcnr/enaml-extensions
- Owner: gabrielcnr
- License: other
- Created: 2015-06-29T21:27:41.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T21:52:25.000Z (12 months ago)
- Last Synced: 2024-09-29T07:42:21.417Z (about 1 month ago)
- Language: Python
- Size: 168 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# enaml-extensions
Extra widgets for EnamlThe flagship widget here is the `Table` widget which aims for providing
an easy way to display tabular data in a grid in the UI. It was designed
to support working with list of dicts, list of namedtuples, list of tuples,
or even pandas DataFrame.An example:
```python
from enaml.widgets.api import *
from enamlext.widgets import Table, Columnenamldef Main(Window):
Container:
Table:
items = [{'name': 'Joe', 'age': 30},
{'name': 'Jane', 'age': 31}]
columns = [
Column('name'),
Column('age'),
]
```