Creating a GTK FileList in swt

I’m trying to create a GdkFileList in order to do file transfer, right now I have created a GsList of file objects but I’m unsure how to turn this to a GDK_TYPE_FILE_LIST. In THIS FORUM it says to wrap the GsList in a boxed object, but I’m unable to figure out how to do this, does anyone have experience?

Thanks in Advance

In C, GSList and GdkFileList are aliases—you can pass a GSList of GFile instances everywhere a GdkFileList is used, interchangeably.

For non-C languages, though, it’s kind of complicated, and GTK does not have a proper API to deal with that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.