How to create comboboxes in pygame(python 2.7)
I don't want to use tk or wx or any other gui just pygame.
import pygame
class ComboBox(pygame):
    def __init__(self, items, editable, dropdownWidth, width, value):
        self.items = items
        self.editable = editable  # True, the user can type a new value False, the user can only choose from the options
        self.dropdownwidth = dropdownWidth
        self.width = width
        self.value = value # i dont think there is need to
    def onSelChange(self, selection):
        pass
    def onEditChange(self, text):
        pass
    def onFocus(self, focused):
        pass
    def onEnter(self):
        pass
    def refresh(self):
        pass
 
    