parameters: (self, newindex=None)
return_statement: return self.tk.call(self._w, "current", newindex)
docstring: If newindex is supplied, sets the combobox value to the
          element at position newindex in the list of values. Otherwise,
          returns the index of the current value in the list of values
          or -1 if the current value does not appear in the list.
docstring_summary: If newindex is supplied, sets the combobox value to the
          element at position newindex in the list of values. Otherwise,
          returns the index of the current value in the list of values
          or -1 if the current value does not appear in the list.
docstring_tokens: If newindex is supplied sets the combobox value to the element at position newindex in the list of values . Otherwise returns the index of the current value in the list of values or - 1 if the current value does not appear in the list .
function: def current(self, newindex=None):
          """If newindex is supplied, sets the combobox value to the
          element at position newindex in the list of values. Otherwise,
          returns the index of the current value in the list of values
          or -1 if the current value does not appear in the list."""
          return self.tk.call(self._w, "current", newindex)
function_tokens: def current ( self , newindex = None ) : return self . tk . call ( self . _w , "current" , newindex )