<@U8E3MM1KK> In your `App` subclass, override `sta...
# tornadofx
e
@lachlanz In your
App
subclass, override
start
to set
initStyle
and on the stage, and override
createPrimaryScene
to create a custom Scene. You can call super and modify the default scene before returning it as well.
l
Great, thanks @edvin
e
My pleasure 🙂 Did it work out?
l
@edvin Yes it did, just trying to still have the taskbar at the top of the window while also having the background be transparent/ But it doesn't seem supported by the StageStyle enum
e
@lachlanz What do you mean by taskbar? Are you talking about a menubar, and are you on a mac?
l
@edvin Sorry, I mean the title bar for windows that contains the window title. It seems to not be possible to have a decorated window with a transparent stage
e
@lachlanz I see. Sorry, I don't know much about the possibilities there. I think I remember a library that provided transparency etc. The library uses standard functions, but manipulates them to achieve the desired result, which is not always an intuitive process IMO 🙂
l
That's great, just wanted to test out the idea of capturing the framebuffer for some OpenCV stuff. Thanks for all the help! @edvin
👍 1