I am writing a reaction prefs program and want to have a file gadget that shows a button and a string box next to it which contains the current path/file that has been selected.
I create this using the following:
And this gives me exactly what I want. BUT....I cannot find any way to populate the "string" portion of the gadget. With a typical string gadget I would use something like this:
window, NULL, // window, requester
but this does not work with the GetFileObject type.
1) How do I have this gadget how me a string with text for the path/file when it is created?
2) How do I have the text in the string part of this gadget update when I change the text for path/file?
3) How do I change the size of the string text box for this gadget.
I have spent a couple hours looking at the autodocs and have not discovered the answer yet.