|
From: James T. <ja...@fl...> - 2023-01-03 17:05:30
|
> On 3 Jan 2023, at 16:25, TheFGFSEagle <the...@gm...> wrote: > > well, I have it working perfectly - I'll commit and make a new MR when you merged the current MR (but while I'm at it i might just as well implement the Menu and Menuitem !) In case you do that: the design goal of MenuItem is to allow both simple items (text) but also check-ables ones, and in the future, simple widgets to be inside an item (eg, a slider or +/- controls in a menu item, or a multi-state selector of a few choices) So, my aim was to have a constructor taking either a text string, or a callback which creates the widget content on demand (when the menu is shown) Kind regards, James |