Skip to content

Instantly share code, notes, and snippets.

@andrisgauracs
Created January 10, 2019 21:47
Show Gist options
  • Select an option

  • Save andrisgauracs/c3c986201785ebcac130e3374a8312f1 to your computer and use it in GitHub Desktop.

Select an option

Save andrisgauracs/c3c986201785ebcac130e3374a8312f1 to your computer and use it in GitHub Desktop.
Initialize the QtGUI Application instance
# Initialize the QtGUI Application instance
app = QtGui.QApplication(sys.argv)
# Initialize our custom VLC Player instance
vlc = Custom_VLC_Player()
vlc.show()
# Let's change the size of the window. We will make it 660px by 530px
vlc.resize(660, 530)
if sys.argv[1:]:
player.OpenFile(sys.argv[1])
sys.exit(app.exec_())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment