-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
c-enhancementNew feature or requestNew feature or requestp-lowLow PriorityLow Priorityx-good first issueGood for newcomersGood for newcomers
Milestone
Description
Several controls, especially Group
and {Vertical, Horizontal}Box
, could be much more ergonomic to use if they provided an interface looking something like the following:
fn add_all(&mut self, ctx: &UI, children: Vec<Control>)
These are of course not precisely the correct types, but the general shape of the interface is correct. Adding many children is a pain, and this would make it easier.
Bonus points if it takes impl Iterator<Item=Control>
or similar.
Metadata
Metadata
Assignees
Labels
c-enhancementNew feature or requestNew feature or requestp-lowLow PriorityLow Priorityx-good first issueGood for newcomersGood for newcomers