We are thrilled to announce Pglet v0.6.0 and updated Python client!
Notable changes:
- Added
focusedproperty,on_focusandon_blurevents to all input controls - paving the way to a proper validation support. - New
Personacontrol. - New
ComboBoxcontrol. - New
pageevents:connectanddisconnectfor real-time chat-like experiences. - Harmonization of border styling propeties across
Stack,Image,IFrameandTextcontrols: HTML-ishborderproperty with mixed and confusing to non-web devs semantics (1px solid blackorsolid 1px black?) replaced with clean and simpleborder_style,border_widthandborder_colorproperties. - All boolean and enum-like properties are protected with
beartype. - Fixed all Python tests to ensure Pglet works nice with Python 3.7 and above. Big shout-out to @mikaelho for helping with that!
- Black and isort was adopted as official Python formatting tools.
- Generating platform-specific wheels (
.whl) with onepgletexecutable inside only: smaller wheels - faster installation!