https://kotlinlang.org logo
Title
s

Spikey Sanju

02/08/2022, 10:16 PM
Hey there! Would it be possible to show menus like this on Compose Desktop?
k

Kirill Grouchnikov

02/08/2022, 10:19 PM
b

Big Chungus

02/08/2022, 10:28 PM
Also, sky is your limit with canvas api
3
d

darkmoon_uk

02/08/2022, 10:53 PM
I think compositing with background windows might be the limit... (I'll leave now)
😅 1
c

Chris Sinco [G]

02/08/2022, 11:12 PM
I also think there’s a limit on the container itself where you can either render menu items in a native menu, or show things in a dialog/window. But a frameless window like that and exhibited by JetBrains Toolbox is still custom.
👍 1
s

Spikey Sanju

02/09/2022, 2:26 AM
In that case will be it possible to keep the window active when I’m working on another app?
k

Kirill Grouchnikov

02/09/2022, 4:12 AM
Do you have a more concrete example, like a screenshot of what you're trying to achieve
x

xxfast

02/09/2022, 6:32 AM
speaking of the limit, are there any plans to support translucent/transparent windows? For comparision, there are some plugins for flutter to do this
s

SrSouza

02/09/2022, 1:49 PM
flutter_acrylic is very cool, I don't know if the currently Skiko and Compose Desktop api extend in this way to support something like this as a third party library.
x

xxfast

02/09/2022, 9:55 PM
yeah it sounds doable but seems to come with a great cost
k

Kebbin

02/10/2022, 8:43 AM
I thought I tried a transparent window early in my tutorial playing. A Transparent .modifier option?