Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyqt5 drop down menu

#super().__init__() needs to be run before this so the QWidget can work
dropDown = QComboBox(self) #where self refers to the class the QComboBox is within.  
dropDown.addItem("Item Name")
 
PREVIOUS NEXT
Tagged: #drop #menu
ADD COMMENT
Topic
Name
2+8 =