Support for natural find

svn: r1230
This commit is contained in:
Don Allingham
2002-12-24 22:36:46 +00:00
parent 6c1cceed82
commit 42ab304330
7 changed files with 82 additions and 40 deletions

View File

@ -28,6 +28,8 @@ class ListModel:
self.mylist = [TYPE_STRING]*l + [TYPE_PYOBJECT]
self.tree.set_rules_hint(gtk.TRUE)
self.tree.set_enable_search(gtk.TRUE)
self.tree.set_search_column(gtk.TRUE)
self.new_model()
self.selection = self.tree.get_selection()
self.selection.set_mode(mode)