Wednesday, 25 May 2022

How make a button apear out of app's window any where in the screen?

My app Image I want to make any number of Buttons out side of this app's main window in screen above all applications.
Button display should be main priority than any other app's window.

This should be like this what should I do please help. Output

Here, Is my simple python code:-

#main.py
from kivy.app import App
from kivy.uix.widget import Widget

class MainWidget(Widget):
    pass

class BLApp(App):
    pass

BLApp().run()

Here, Is my simple kivy code:-

#BL.kv
MainWidget:

<MainWidget>:

    Button:
        text: "Hello World"
        size: "100dp","100dp"
        pos: "100dp","100dp"


from How make a button apear out of app's window any where in the screen?

No comments:

Post a Comment