Summary: A development library for text mode user interfaces.
Name: newt
-%define version 0.50.26
+%define version 0.50.27
Version: %{version}
Release: 1
Copyright: LGPL
%endif
%changelog
+* Mon Jun 25 2001 Jeremy Katz <katzj@redhat.com>
+- ClistBox -> Clistbox for API consistency
+- fixup replace() method of Clistbox
+
* Fri Jun 8 2001 Jeremy Katz <katzj@redhat.com>
- few bugfixes to the CListBox
return (bb.buttonPressed(result), tuple(entryValues))
-class CListBox(Grid):
+class CListbox(Grid):
def __init__(self, height, cols, col_widths, scroll = 0, returnExit = 0,
width = 0, col_pad = 1, col_text_align = None,
col_labels = None, col_label_align = None):
if col_text_align == None:
col_text_align = self.col_text_align
text = self.colFormText(col_text, col_text_align)
- self.listbox.replace(text, item, before)
+ self.listbox.replace(text, item)
def current(self):
return self.listbox.current()