Andrew Plotkin
Andrew Plotkin
Leaving open for Mac version. Dynamic menu state is not yet supported.
While I'm at it, disable the Cut and Paste options in static windows also. (Mac)
Actually, the Zoom In/Out menu options are now global rather than window-specific, so maybe this is all irrelevant.
Still applies to Cut and Paste, and also Reset Game. It turns out you can enable/disable menu options on the Mac by setting the `enabled` property. We'd have to do...
More specific bug report: https://github.com/atom/electron/issues/4028
Win/Linux versions now update their static window menus on creation. So you can see changes by closing and reopening the About window. (I think.) Still not ideal.
Should be doable now or soon; see https://github.com/electron/electron/pull/11166
But wait! This is a pain in the butt! The original case (see http://seltani.shoutwiki.com/wiki/Act_on_Another_Player) is a list of _links_. Each entry is a set of link(), print(), endlink() calls. We...
Maybe a form `gentext.conjunct(ls, key='prop')` which calls prop(val) on every element of ls. This is a terrible idea.
Less terrible: a generator. ``` conj = gentext.conjunct(ls) # or len(ls) for obj in ls: print(obj) # or whatever print(conj()) ```