Closed gkoz closed 9 years ago
To wrap the variadic arguments, I was just thinking about doing it with a macro (like print! and stuff). But very nice job ! I'll merge it while waiting for a potentially better way.
Yeah, I'd like a better way too and the implementation isn't pretty at all. Hopefully we can improve it.
Sure we can and we will !
DialogButtons
trait allows to take fixed-length arrays of button definitions generically over their length. AddDialog::with_buttons
andadd_buttons
that take such an array. While there, publishDialog::new
. MakeFileChooserDialog::new
take button arrays too. Update the examples.