B
B
BuBux2019-11-25 12:02:46
Python
BuBux, 2019-11-25 12:02:46

Transparent window when running python script using kivy?

I'm using python 3.7 and have kivy installed. After running the script transparent screen. At first I thought that it was possible because of PyCharm, but I also ran it simply through the command line, the result is the same.
Script I'm testing:

from kivy.app import App
from kivy.uix.button import Button

class MyApp(App):
  def build(self):
    return Button(text="Hello world")

MyApp().run()

There are two windows on the screen. A window with the program (transparent) is open on top of the command line.
5ddb98b4987fe805839597.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lightmanLP, 2019-12-06
@lightmanLP

Try reinstalling kivy following the instructions on their website.
https://kivy.org/doc/stable/installation/installat...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question