On Wed, 2009-08-19 at 09:41 +0300, Balogh Szabolcs wrote: > Hello, > > > I'm working on a document viewer application in python based on > clutter 0.8, and I have some troubles...
first of all: pyclutter 0.9.2 uses Clutter 1.0, and requires testing, so you should think about moving to that. > 1. For pdf files I use poppler with python bindings. It's working > fine... The only problem is, that I don't know how to scroll the > document if after zooming it becomes bigger than the available space. > How is possible to scroll in Clutter? if by "scrolling" you mean using the scrolling wheel on you mouse then connect to the scroll-event signal and then move the actor in the direction of the scrolling. if you mean "scrolling" as in "scroll bars and a container using them" then you should have a look at what NBTK (the tool kit we are using for Moblin and which is Clutter-based) does with NbtkViewport, NbtkScrollBar and NbtAdjustment. > 2. For word/excel/ppt documents I have to incorporate the whole > OpenOffice interface into my clutter based application. you can't do this. with *any* tool kit. > Can somebody give me some help, how it is possible to incorporate the > window from another application? and you can't do this with Clutter. ciao, Emmanuele. -- Emmanuele Bassi, Senior Engineer | [email protected] Intel Open Source Technology Center | http://oss.intel.com -- To unsubscribe send a mail to [email protected]
