Skip to content
An attempt to make a toolset for interaction between a model and view the pythonic way.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
sidestep01
step01
step02
step03
step04
step05
step06
step07
.gitignore
LICENSE
README.md

README.md

modellerkit

An attempt to make a toolset for interaction between a model and view the pythonic way.

step01

The most basic list model, demonstrated on a wxPython's ListView and a tk's Treeview.

step02

Added the info about the selected item into the model.

step03

A TypedHotList can check that items are of the declared type.

step04

A new approach: HotObject checks the type for it's properties. Can hold primitive types or hot values.

step05

Adding hierarchy to the hot objects and "event sources" to the events. Implemented a simple mapper to route events.

step06

A full wxPython example based on step05's production.

sidestep01

An example, similar to step06/view01.py, implemented using setters and getters (and other special methods) on a wx.Frame.

step07

A different approach when the model class members are declared by decriptor classes.

examples

A few examples.

You can’t perform that action at this time.