3 ms·
Kivy's multiplatform support is impressive. An application I'm working on at the moment runs in X on Ubuntu, on Microsoft Windows and on a Raspberry Pi 3. On th
by crishoj 10y ago
Kivy's multiplatform support is impressive. An application I'm working on at the moment runs in X on Ubuntu, on Microsoft Windows and on a Raspberry Pi 3. On the latter Kivy draws the UI using the frame buffer directly, without X.
Kivy does have its quirks and oddities. From the top of my head:
- Want to set the background color on a widget? Gotta drop into GL-like drawcalls and add a coloured rectangle below your widget.
- On the Raspberry Pi, I see a strange behaviour where adding and removing elements from the widget hierarchy causes widgets to randomly not appear, or flicker, or old widgets to re-appear — even though the widget hierarchy looks "clean" on inspection. This problem doesn't occur on Linux using X, or on Windows, so I suspect the reason lies somewhere in the frame buffer inplementation.
Edit: Formatting
- creshal 10y ago> Kivy's multiplatform support is impressive. An application I'm working on at the moment runs in X on Ubuntu, on Microsoft Windows and on a Raspberry Pi 3. On the latter Kivy draws the UI using the frame buffer directly, without X. Isn't that the same as with most other multiplatform toolkits? GTK and Qt both support framebuffer rendering, IIRC.
- crishoj 10y agoDo you have a reference for GTK supporting FB rendering? The best I could find was this: > This current DirectFB GTK+ 3.12 port lacks drag and drop, selection support, cursor shapes, full-screen support, geometry hints, properties, and many other features, but according to the developers maintaining this out-of-tree GTK+ code it's "basically usable" for running modern GTK apps on DirectFB. Source: https://www.phoronix.com/scan.php?page=news_item&px=MTc2OTE https://www.phoronix.com/scan.php?page=news_item&px=MTc2OTE
- vanous 10y agoNo to counter anything, just to add - Android and IOS are also supported.
- y4mi 10y agoi recently tried to develop a tiny project with it as well... i started on my desktop and simply loved it. later, i checked out my repo from my chromebook with crouton/trusty ubuntu... it only draws a transperent rectangle there