You can remove/hide the minimize button on a Kivy window by setting the window's borderless
property to True and its resizable
property to False.
Here's an example:
from kivy.config import Config
Config.set('graphics', 'borderless', 1)
Config.set('graphics', 'resizable', 0)
The above code will set the window to be borderless and non-resizable, which will effectively remove the minimize button.
Note that this will affect all Kivy windows in the application. If you want to apply this setting to only a specific window, you can do so by setting the borderless
and resizable
properties on that specific window object.
Asked: 2022-03-08 11:00:00 +0000
Seen: 9 times
Last updated: Oct 28 '22