Re: Replacing GTypeInterface instances.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]