![]() |
mokoui2 + Python bindings now in Extras (finger scroll)
If you're developing a app that can profit from a finger-scrollable view in GTK+/C or PyGTK/Python, you can now use libmokoui2 and its Python bindings (python-mokoui) from Diablo Extras (modified the Ubuntu source package to build for Maemo).
mokoui's FingerScroll widget even has the rubberband effect at the end of the list - very cool! :) mokoui.FingerScroll can be used as a drop-in replacement for gtk.ScrolledWindow. Here's a small example in Python/PyGTK to get you started: Code:
import gtk |
Re: mokoui2 + Python bindings now in Extras (finger scroll)
Could be interesting ...
|
Re: mokoui2 + Python bindings now in Extras (finger scroll)
Hi !
I ve just a sad implementation on mCalendar ... and this slow ... really slow too much to be useable. :( I ve try it also on a fixed height TreeView with only one column for mnotes. And after first bad feeling ... i can say it can be use for simple treeview. Maybe it can be optimized a bit ? But anyway keep this good work. I ll use it for the next release of mCalendar. I like the fact that this is a gtk widget ! oh and this slow also with a treeview containing photo. |
Re: mokoui2 + Python bindings now in Extras (finger scroll)
I'll definitely give it a try. Is there some kind of API-documentation for it?
|
Re: mokoui2 + Python bindings now in Extras (finger scroll)
The pydoc of course
|
Re: mokoui2 + Python bindings now in Extras (finger scroll)
I like this widget ...
but how can I disable the rubberband effect? |
Re: mokoui2 + Python bindings now in Extras (finger scroll)
Any screenshots/videos?
|
Re: mokoui2 + Python bindings now in Extras (finger scroll)
Quote:
http://www.internettablettalk.com/fo...&postcount=179 Quote:
Quote:
Or "pydoc mokoui" for the Python-ish documentation of the widgets. As usual, the Python API is analog to the C API, just like with PyGTK/PyCairo, etc.. |
Re: mokoui2 + Python bindings now in Extras (finger scroll)
Quote:
|
Re: mokoui2 + Python bindings now in Extras (finger scroll)
if you have ipython installed you can also do :
$ipython import mokoui help(mokoui) |
| All times are GMT. The time now is 10:04. |
vBulletin® Version 3.8.8