Update
svn: r4742
This commit is contained in:
parent
2c6f640ac5
commit
a779675fd5
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user