On 07/16/2016 04:21 AM, WillyAguilera wrote:
I'm new to D and GtkD. Sorry my English. Sorry for the edition of the text.
I need to use a gio.File for many things but I can not create one for a directory path and to enumerate it's contents. I need to know how to get the gio.File and enumerate its children asyncronously. What I'm doing wrong.
My code is:
Your workaround for the missing newForPath looks correct. The generator
currently doesn't generate constructors for interfaces, i will have to
look for the best way to solve that.
What issues are you experiencing?
The of .funcptr might cause isses due to D bug 2672 to work around
that mark your function as static, and replace (&this.enumChildrenCallBack).funcptr
with cast(GAsyncReadyCallback)(&this.enumChildrenCallBack)