[Gtk-sharp-list] how to access struct members with gapi
Mike Kestner
mkestner@speakeasy.net
Wed, 27 Aug 2003 12:55:26 -0500
On Wed, 2003-08-27 at 12:44, Aleksey Sanin wrote:
> The obvious solution is to patch source code and write trivial get/set
> functions in C but this would mean that user would have to install the
> "modified" version of the library which might not be possible by some
> reasons.
Not exactly. What we do is write a glue function in C to access the
field and then we pinvoke the glue function in a .custom file.
> I have looked
> at the GTK# wrappers but I could not find any examples there.
They are there. Take a look around the glue directory.
--
Mike Kestner <mkestner@speakeasy.net>