All pastes #919309 Raw Edit

Stuff

public text v1 · immutable
#919309 ·published 2008-02-26 19:11 UTC
rendered paste body
In [1]: import pgm

In [2]: from pgm.graph.group import Group

In [3]: canvas = pgm.Canvas()

In [4]: group = Group()

In [5]: canvas.add(pgm.DRAWABLE_MIDDLE, group)
---------------------------------------------------------------------------
<type 'exceptions.TypeError'>             Traceback (most recent call last)

/home/michal/soft/elisa/elisa/elisa-plugins/elisa/plugins/slideshow/<ipython console> in <module>()

<type 'exceptions.TypeError'>: argument must be a Drawable