get_viewport

source.Qt.custom_widget.get_viewport()

Return Maya Viewport as a python object