Re: Why do constructors return GtkWidget?



On Wed, Nov 4, 2009 at 6:33 PM, Tristan Van Berkom <tvb gnome org> wrote:
>
> Maybe a better direction to push would be, adding some gtk-doc annotations
> to make sure the resulting gobject-introspection data is more rich and
> accurate ?

Introspection currently assumes any function matching foo_bar_new.* is
a constructor; i.e. in the .gir, the return type is the derived class.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]