ANN: curses-extra 0.3

Riccardo Galli riccardo_cut-me at cut.me.sideralis.net
Mon Oct 18 01:02:44 CEST 2004


curses-extra offers some widgets written using curses module.

Version 0.3 is now available for download from 
    http://www.sideralis.net/index.php?action=4&pjid=20

Changes in curses_extra 0.3
---------------------------

added Label widget
added TextEntry widget
added TextView widget
added documentation, browsable with pydoc or epydoc
examples improved
packaged with distutils
bugfixes

===========================

The following classes and functions are present in the module

Widget
    Button
    ButtonBar   #bar of buttons (automatically manage arrow keys)
    CheckButton
        RadioButton
    CheckButtonList #list of checkbutton (as ButtonBar)
    ComboBox
    Label
    Menu
    MenuBar
    TextEntry
    TextView

add_shortcut(pattern,action) #check combinations of keys, eg <ctrl>H
use_shortcut(c,obj) #check if character is a shortcut, and use it
                    # in case
                    #NOTE: widgets auto-check for the shortcuts

chgat(win[,y,x],count,attr,color) #change attributes of an area


-- 
-=Riccardo Galli=-

 _,e.
s~  ``
 ~@.   ideralis Programs
.   ol 
 `**~  http://www.sideralis.net



More information about the Python-list mailing list