[Gtk-sharp-list] Another Wrapping Question
Mike Kestner
mkestner@speakeasy.net
17 Feb 2003 17:17:50 -0600
On Mon, 2003-02-17 at 14:30, Charles Iliya Krempeaux wrote:
> Do these tool wrap everything? Or just GObject's with their associated
> procedures.
No, it also associates methods with plain C structs if the nomenclature
is right. For example if a FooBar struct is exposed and a method
foo_bar_baz() is declared, a Baz method will be defined on struct
Foo.Bar.
> I ask this, because librsvg has helper functions like:
>
> rsvg_pixbuf_from_file()
I'm not familiar enough with librsvg to know what the function is, but
if it doesn't relate to a librsvg defined type, it will have to be hand
wrapped. This is similar to the gtk_main_init method that is
hand-wrapped in Gtk# to be Gtk.Application.Init(). If it does relate to
a type, then maybe there's a parser/generator bug.
--
Mike Kestner <mkestner@speakeasy.net>