[Gtk-sharp-list] Some Gtk# methods has C style

Christian Hoff christian_hoff at gmx.net
Fri Mar 13 14:40:25 EDT 2009


The problem here is that all of the Gtk# code except GLib is 
autogenerated meaning that we have a tool called GAPI which generates a 
managed implementation of every C method it finds.

There is the possibility to customize the autogenerated code, but 
naturally we want to keep these customizations at a minimum. That's why 
we only customize the code if it brings a considerable improvement.

Christian

Luis G. wrote:
> Hi,
>
> I see that some Gtk# methods has a C style alike.
>
> For example 
>
> Gtk.Widget
>
> public void GetSizeRequest (out int width, out int height)
>
> public void SetSizeRequest (int width, int height)
>
> These methods doesn't look good for C# programing


More information about the Gtk-sharp-list mailing list