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


GitHub Universe AI Announcements - Copilot And Spark
30/10/2024

GitHub has announced several improvements for developers at Universe, its annual conference. Developers will get multi-model Copilot and GitHub Spark, an AI-native tool for building applications in na [ ... ]



JetBrains Partners With OpenCV
15/10/2024

JetBrains has formed a new partnership with OpenCV, the world's largest library for computer vision. As part of the collaboration, JetBrains has joined OpenCV as a Silver Member, making PyCharm the of [ ... ]


More News

 

espbook

 

Comments




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

Last Updated ( Tuesday, 09 May 2017 )