Re: Why do constructors return GtkWidget?
- From: Colin Walters <walters verbum org>
- To: Tristan Van Berkom <tvb gnome org>
- Cc: Sven Herzberg <herzi gnome-de org>, gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Why do constructors return GtkWidget?
- Date: Wed, 4 Nov 2009 19:17:58 +0000
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]