Skip to content

(QtWidgets.createQComboBox())

Description

Creates a dropdown list.

Syntax

JS
QtWidgets.createQComboBox(parent: widget = null) -> QComboBox

Parameters

Parameter Type Default Value Mandatory Description
parent widget null No Parent widget that this created QComboBox belongs to. If not specified, the widget is created without a parent.

Return value

Type Description
QComboBox New QComboBox object.

Example

JS
let result = QtWidgets.createQComboBox()
console.info(result)

See also

Last update: 14 August 2025, 18:47