Re: Derived interfaces
- From: Owen Taylor <otaylor redhat com>
- To: murrayc usa net
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Derived interfaces
- Date: 03 Nov 2001 13:00:52 -0500
murrayc t-online de (Murray Cumming) writes:
> I read somewhere that glib interfaces could be derived from other
> interfaces. Does anyone know of an example?
The way this is mapped is as "prerequisites" - an interface
can require that any type implementing it also "is a" some
set of other types, either interface types or instance
types.
void g_type_interface_add_prerequisite (GType interface_type,
GType prerequisite_type);
E.g., GtkCellEditable (what should have been GtkCellEditor)
has a prerequisite on GtkWidge.t
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]