[Gtk-sharp-list] how to access struct members with gapi
Aleksey Sanin
aleksey@aleksey.com
Wed, 27 Aug 2003 11:01:19 -0700
This is a multi-part message in MIME format.
--------------080806080806000608090205
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Thanks! I did not look into "glue" folder :(
Aleksey
Mike Kestner wrote:
>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.
>
>
>
--------------080806080806000608090205
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=KOI8-R">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks! I did not look into "glue" folder :( <br>
<br>
Aleksey<br>
<br>
Mike Kestner wrote:<br>
<blockquote type="cite" cite="mid1062006925.15608.420.camel@alpha">
<pre wrap="">On Wed, 2003-08-27 at 12:44, Aleksey Sanin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
<blockquote type="cite">
<pre wrap=""> I have looked
at the GTK# wrappers but I could not find any examples there.
</pre>
</blockquote>
<pre wrap=""><!---->
They are there. Take a look around the glue directory.
</pre>
</blockquote>
</body>
</html>
--------------080806080806000608090205--