Kivy 1.9 Released
Written by Alex Armstrong   
Thursday, 09 April 2015

Kivy 1.9 is a major release of a popular cross-platform open source framework which makes use of OpenGL to create a standardized UI and graphics environment for Python.

The main internal change in this release is a shift to using SDL2 as the backend provider on all Kivy platforms apart from Android, which continues to uses the old Pygame/SDL backend.

This isn't expected to change the external user API at all, but provides features that Pygame lacked, such as proper support for high-DPI displays and the ability to retain an OpenGL context on resize (previously lacking in Windows and OS X), as well as resolving some old Pygame related bugs. Pygame is now deprecated on  Windows, Linux, OS X and iOS although it will be supported for a while and is unlikely to stop working.

In response to user requests for SVG support, preliminary support, in included in this release. Announcing this Alexander Taylor comments:

This is still experimental and currently supports only Python 2, but much of the work has been done and even complex SVG images are reproduced well. 

Kivy 1.9 also introduces an EffectWidget, which behaves as a normal RelativeLayout but also lets you add one or more shader effects to its rendered output. 

 

kivyeffect

Taylor explains:

The API is designed to make it very easy to create simple effects even without knowing about GLSL ... Since [the effects] are applied at a very low level they are very efficient (although not optimised for too many effects at once) and can be applied even to video or moving scenes such as in games.

Another convenient new feature is the addition of a rebind option to Kivy properties now makes it possible to enable a second level of binding when required.

Other enhancements in Kivy 1.9 include a new, faster video provider via Cython and ffmpeg; Window modes to detect and react to the presence of a software keyboard on Android; an internal rewiring of focus handling for widgets; plus many bugfixes and smaller new features which are listed in its changelog.

 

kivylogo

 

The new version is available for download on the Kivy website

Banner


IDX Gets Android Emulator & iOS Simulator
01/02/2024

Google has updated Project IDX, its browser-based development tool, adding an iOS Simulator and Android Emulator to the browser so developers can preview apps directly in IDX. The updated release also [ ... ]



Android 15 Developer Preview Released
19/02/2024

Android 15 Developer Preview has just been released by the Android team with features including partial screen sharing and the latest version of the Privacy Sandbox.


More News

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 09 May 2017 )