Re: multiple widget inheritance



Hi all!

What about the GTK interfaces lib used by bonobo (I don't know too much about
bonobo, so sorry if this question is stupid)? Could we code our widgets in that
way and be able to use them as "normal" GTK widgets?



> Currently the GtkObject system does not handle multiple inheritence very
> well.  There have been a number of hacks, such as the activate interface
> and the set_scroll_adjustments interface though.
>
> You may be able to do this by creating a few signals for each widget, and
> making a few functions that simply call gtk_signal_emit_by_name to make up
> the common interface.



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