ANN: curses-extra 0.2

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


First official release :)

curses-extra offers various widgets wrotten using curses module.

In the module are presents the following classes and functions

Widget
    Button
    ButtonBar   #bar of buttons (manage automatically 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, use it in case
                    #NOTE: widgets auto-check 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 widgets' graphic are appreciated

Thanks,
Riccardo

-- 
-=Riccardo Galli=-

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



More information about the Python-list mailing list