Decorations -- can they be manipulated?

Just curious.

The window settings documentation describes the decorations field this way:

decorations: bool

Whether the window should have a border, a title bar, etc. or not.

Is there more to the decorations than the title bar and border? What is the “etc” referring to?

I found a toggle_decorations() function. Is there a way to change the decorations in more detail, or are they simply either on or off?

1 Like

I believe the idea is that you implement your own controls in-app once you turn off the window-manager owned ones. The trick then is to detect the platform you’re on and present ones that work nicely in the target context.

I’m about to open a new thread related to this, specifically about re-rolling some of the functionality that might be missing (I’m trying to work out window position basically…).