edvin
10/08/2017, 11:30 AMedvin
10/08/2017, 11:30 AMcarlw
10/08/2017, 2:37 PMcarlw
10/08/2017, 2:38 PMcarlw
10/08/2017, 11:36 PMmelston
10/08/2017, 11:37 PMsetHideOnClick(false)
on.carlw
10/08/2017, 11:37 PMcarlw
10/08/2017, 11:39 PMcarlw
10/08/2017, 11:39 PMmelston
10/08/2017, 11:41 PMitem
now. I have item(...).action {...}
. I'm not sure how to turn an item into a CustomMenuItem
, though, so I can call setHideOnClick
.carlw
10/08/2017, 11:41 PMcarlw
10/08/2017, 11:56 PMmelston
10/08/2017, 11:56 PMMenu.item
extension function and put this together. It seems to work.carlw
10/08/2017, 11:56 PMcarlw
10/08/2017, 11:57 PMmelston
10/08/2017, 11:57 PMcarlw
10/08/2017, 11:57 PMmelston
10/08/2017, 11:58 PMcarlw
10/08/2017, 11:58 PMcarlw
10/09/2017, 12:05 AMmelston
10/09/2017, 12:55 AMitem
has both a string and a node parameter.melston
10/09/2017, 12:56 AMMenuItem
takes both.melston
10/09/2017, 12:57 AMCustomMenuItem
only takes a Node
, it seems.melston
10/09/2017, 1:02 AMgraphic
parameter if it is non-null. Otherwise I use the name
parameter.carlw
10/09/2017, 1:12 AMcarlw
10/09/2017, 1:12 AMmelston
10/09/2017, 2:10 AMthomasnield
10/09/2017, 2:40 AMthomasnield
10/09/2017, 2:41 AMthomasnield
10/09/2017, 2:43 AM