Re: Replacing GTypeInterface instances.
- From: Havoc Pennington <hp redhat com>
- To: murrayc usa net
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Replacing GTypeInterface instances.
- Date: 02 Nov 2001 10:31:40 -0500
murrayc t-online de (Murray Cumming) writes:
> On Fri, 2001-11-02 at 01:05, Havoc Pennington wrote:
> > murrayc t-online de (Murray Cumming) writes:
> > > Can you give me a clue about how to do this? See above.
> > Just add the interface again. g_type_add_interface_static().
> Excellent. Does this completely replace the GTypeInterface instance, or
> does any strange chaining occur? I know I should explore the source but
> it only seems to confuse me more.
You pass in the interface init function, which will get a copy of the
parent class's interface implementation, which you can override as
] [Thread Prev