[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fenfire-dev] Reusing VobScene
From: |
Matti Katila |
Subject: |
[Fenfire-dev] Reusing VobScene |
Date: |
Tue, 26 Aug 2003 15:09:47 +0300 (EEST) |
I found the bug of buttons click etc.
in org.fenfire.bin.fenpdf10.py
class Scene:
def scene(self, vs):
self.context.states.vs = vs
scene = views.scene(vs)
return scene
def mouse(self, ev):
eventHandler.mouse(ev, self.context.states.vs)
This do *not* work. Reusing vobscenes must done like in
libvob.vob.demo.mouse.drags.py. I startted a howto of this thing already
but didn't ever finished. So, the problem is that demo.py, which we use as
a framework, creates a scene - an emty one - and that is used to see
if something is clicked. Now I can heard that you keep saing, doesn't
view.scene(vs) render in the scene? Yes it does if it doesn't reuse
vobscene and then the vobscene is totally different than the one
which is saved in context.states.vs.
-Matti
- [Fenfire-dev] Reusing VobScene,
Matti Katila <=