ANN: curses-extra 0.2

Riccardo Galli riccardo_cut-me at cut.me.sideralis.net
Tue Oct 12 22:15:00 CEST 2004


First official release :)

curses-extra offers some widgets wrotten using curses module.

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
    Menu
    MenuBar

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

You can find it at
http://www.sideralis.net/index.php?action=4&pjid=20

Suggestions about API or about widgets' graphic are appreciated.

Thanks,
Riccardo

-- 
-=Riccardo Galli=-

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


More information about the Python-announce-list mailing list