AnsweredAssumed Answered

10.2 Arcpy comboboxclass addin simple question

Question asked by jdgraham on Mar 12, 2014
Latest reply on Mar 13, 2014 by jdgraham
Hopefully this is a simple question,  what variable is used to get the selection from this combo box?  ie how do I use this in later code.  I am not finding any good resources for arcpy addins.

class ComboBoxClass4(object):     """Implementation for MTR_addin.combobox (ComboBox)"""     def __init__(self):         self.value = "S"           self.items = ("C", "F", "K", "S", "U")          self.editable = True         self.enabled = True         self.dropdownWidth = 'WWW'         self.width = 'WWW'     def onSelChange(self, selection):         pass     def onEditChange(self, text):         pass     def onFocus(self, focused):         pass     def onEnter(self):         pass     def refresh(self):         pass

Outcomes