svn: r4742
This commit is contained in:
Alex Roitman 2005-05-31 18:21:01 +00:00
parent 74e71e5df5
commit 1bed90520c

View File

@ -76,11 +76,11 @@ class StandardCustomSelector:
options or entering custom string. options or entering custom string.
The typical usage should be: The typical usage should be:
sce = StandardCustomSelector(mapping,custom_key,active_key) scs = StandardCustomSelector(mapping,custom_key,active_key)
whatever_table.attach(sce,...) whatever_table.attach(scs,...)
and later, when or before the dialog is closed, do: and later, when or before the dialog is closed, do:
(i,s) = sce.get_values() (i,s) = scs.get_values()
to obtain the tuple of (int,str) corresponding to the user selection. to obtain the tuple of (int,str) corresponding to the user selection.