[Gtk-sharp-list] Abstract classes.

Paolo Molaro lupus@ximian.com
Thu, 17 Jul 2003 19:06:56 +0200


On 07/14/03 Miguel de Icaza wrote:
>    Maybe one way of catching the abstract class from C in the C# world
> would be to have the generator find if the class is abstract (in the
> call to g_type_register_static), and if so, not provide the protected
> default constructor in the class.

You should be able to run the widget_get_type () function in a test
program and retrieve the needed info from that, instead of hacking the
parser.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better