Kebbin
02/26/2022, 11:53 AM@Composable
function from a Window()
's MenuBar
???
I can't do it from a Window
in the main
function, as that can't be @Composable
, and a @Composable
can't be called from anything but a @Composable
?
But a Window
in a @Composable
function still can't seem to do it!
Sorry! Thanks! 🥴Michael Paus
02/26/2022, 12:05 PMKebbin
02/26/2022, 12:07 PMKebbin
02/26/2022, 12:20 PMremember
from habit, because of simple examples I've been building on, and my simple app had been able to handle that obviously!
I've now got things working I think, using just var dataIn = mutableStateOf("")
for example, and my @Composables seem to be updating live when it changes????
Hopefully this is right! Gee, what a learning experience. Thanks anyway!!Kebbin
02/26/2022, 12:22 PMremember
idea might help me with another problem I was having, where I wanted a variable to be set/copied from another variable, but then remain unchanged as the original one varied!!? Wow. Good stuff. @darkmoon_uk will be proud of me, if I can get this into my head! This might've been worth staying up late for, if I can have learnt this!!!Zach Klippenstein (he/him) [MOD]
03/01/2022, 4:29 PMKebbin
03/02/2022, 1:03 AM