[gtk-list] Re: toggle_button vs check_menu_item
- From: andrew cogent ca
- To: gtk-list redhat com
- Subject: [gtk-list] Re: toggle_button vs check_menu_item
- Date: Mon, 22 Mar 1999 09:57:07 -0500 (est)
Havoc Pennington writes:
[...]
> In a language such as C++ or Java this would be solved by multiple
> inheritance, one of the base classes being a "toggleable" interface; but
> the Gtk+ object system does not permit that yet. So there is an object
> oriented way to do it in those languages, but without multiple interfaces
> implementing gtk_widget_set_active() would amount to a switch statement
> based on object type, which is the antithesis of object orientation. :-)
Your use of the word "yet" in the above paragraph is quite
frightening. Please do not implement multiple inheritance, interfaces
or any other such esoterica into the basic GTK+ system. This would
kill foreign language binding possibilities for any language that does
not also implement these functions in similar ways.
Andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]