On Thu, 12 Nov 2015 23:07:20 +0100, Mike Wey wrote:

As a workaround the following should work:

Widget widget = cbPath.getChild();
if (widget !is null) {
	Entry entry = new Entry(widget.getWidgetStruct());
	entry.setText(dialog.getFilename());
}

Thanks Mike, I had to make one small change to case the entry struct to GtkEntry as per the code below and it worked fine. Might be nice to include a convenience function in the future for this though I see gtk itself doesn't exactly make this intuitive either.

Widget widget = cbPath.getChild();
if (widget !is null) {
	Entry entry = new Entry(cast(GtkEntry*)widget.getWidgetStruct());
	entry.setText(dialog.getFilename());
}