On Tuesday, 28 April 2020 at 18:46:18 UTC, Kagamin wrote:
Try this:
void populate(NameAndDescription[] namesAndDescriptions) {
if(namesAndDescriptions.length>100)namesAndDescriptions=namesAndDescriptions[0..100];
innerView.viewData.populate(namesAndDescriptions);
}
I tried that and it worked fine. So I then used a binary chop and
discovered that 0..n where n <= 1170 works fine; n > 1170 crashes.
I'm not sure where that takes me but seems suggestive that the
problem is Gtk or GtkD rather than my code?