SOLVED Window without title bar?
-
Had a quick question regarding windows, is it possible to create a window without a title bar and/or top buttons?
I tried
setHasTitleBar_
andsetTitlebarAppearsTransparent_
but I can't seem to find the correct function!TIA!
Connor
-
Thanks a ton for the resource, Frederik!
Looks like my tool window is now going to be a landscape image;)
-
here is an overview of different window styles. You just need to translate the swift code to python...
-
Oh duh, I need both at the same time 🤦♂️
Thanks so much for the help, @gferreira (as usual)!
-
hello @connor,
here’s how you can hide the title and make the title bar transparent:
from vanilla import Window w = Window((300, 100), "test") w.getNSWindow().setTitleVisibility_(True) w.getNSWindow().setTitlebarAppearsTransparent_(True) w.open()
not sure if it’s possible to remove the close / minimize / restore buttons…
hope this helps!