예제 #1
0
 def __init__(self, root, mv, title="select a set:",
              command=None, mode="single", cwcfg=None):
     self.mv = mv
     pmvsets = self.getPmvSets()
     ListChooser.__init__(self, root, mode=mode, title=title, entries=pmvsets,
                 command=command, cwcfg=cwcfg)
     self.widget.configure(exportselection = False)
예제 #2
0
 def __init__(self,
              root,
              mv,
              title="select a set:",
              command=None,
              mode="single",
              cwcfg=None):
     self.mv = mv
     pmvsets = self.getPmvSets()
     ListChooser.__init__(self,
                          root,
                          mode=mode,
                          title=title,
                          entries=pmvsets,
                          command=command,
                          cwcfg=cwcfg)
     self.widget.configure(exportselection=False)