ANN: Urwid 0.9.7 - Console UI Library

I

Ian Ward

Announcing Urwid 0.9.7
----------------------

Urwid home page:
http://excess.org/urwid/

Tarball:
http://excess.org/urwid/urwid-0.9.7.tar.gz


About this release:
===================

This release adds a new BigText widget for banners and text that needs
to stand out on the screen. A new example program demonstrating BigText
usage and a number of fonts are included. This widget is a fixed
widget, a new alternative to flow widgets and a box widgets. Fixed
widgets may be displayed within Overlay or Padding widgets to handle
changing screen sizes.


New in this release:
====================

- Added initial support for fixed widgets - widgets that have a
fixed size on screen. Fixed widgets expect a size parameter
equal to (). Fixed widgets must implement the pack(..)
function to return their size.

- New BigText class that draws text with fonts made of grids of
character cells. BigText is a fixed widget and doesn't do any
alignment or wrapping. It is intended for banners and number
readouts that need to stand out on the screen.

Fonts: Thin3x3Font, Thin4x3Font, Thin6x6Font (full ascii)
UTF-8 only fonts: HalfBlock5x4Font, HalfBlock6x5Font,
HalfBlockHeavy6x5Font, HalfBlock7x7Font (full ascii)

New function get_all_fonts() may be used to get a list of the
available fonts.

- New example program bigtext.py demonstrates use of BigText.

- Padding class now has a clipping mode that pads or clips fixed
widgets to make them behave as flow widgets.

- Overlay class can now accept a fixed widget as the widget to
display "on top".

- New Canvas functions: pad_trim(..) and pad_trim_left_right(..).

- Fixed a bug in Filler.get_cursor_coords(..) that causes a
crash if the contained widget's get_cursor_coords(..) function
returns None.

- Fixed a bug in Text.pack(..) that caused an infinite loop
when the text contained a newline. This function is not
currently used by Urwid.

- Edit.__init__(..) now calls set_edit_text(..) to initialize
its text.

- Overlay.calculate_padding_filler(..) and
Padding.padding_values(..) now include focus parameters.


About Urwid
===========

Urwid is a console UI library for Python. It features fluid interface
resizing, UTF-8 support, multiple text layouts, simple attribute markup,
powerful scrolling list boxes and flexible interface design.

Urwid is released under the GNU LGPL.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top