Re: language bindings & Gnome
- From: Jaka Mocnik <jaka mocnik kiss uni-lj si>
- To: Andreas Kostyrka <andreas ag or at>
- CC: "gnome-list gnome org" <gnome-list gnome org>
- Subject: Re: language bindings & Gnome
- Date: Thu, 02 Jul 1998 12:54:33 +0200
Andreas Kostyrka wrote:
>
> On Thu, 2 Jul 1998, Jaka Mocnik wrote:
>
> > > -) Don't know if I can override signal slots that some super class has
> > > overriden by a C function (as in gnome-hello-7-mdi).
> > As far as subclassing GnomeMDIChild is concerned, I explained above what
> > was the ONLY reason I decided to subclass it. adding a pointer to
> > GnomeMDIChild to point to document data or gtk_object_set_data()ing this
> > data would work perfectly as well.
> > I don't really understand the last one: in case of GnomeMDIChild, you'd
> > simply gtk_signal_connect() the signals to your newly created
> > GnomeMDIChild. The default handlers are non-existant anyway.
> My point is not only about GnomeMDI. (Actually, I've already suceeded
> yesterday to create a (not yet complete) clone of gnome-hello-7-mdi in
> TOM.) But I'm not sure if in general a signal will override a handler set
> as a C function in the class struct? (Perhaps you know? *g*)
I think one ought to try it out ;) I don't think that a connected signal
overrides the default one - the default handler will be called unless it
is stopped (perhaps gtk_signal_emit_stop() or gtk_signal_handler_block()
would help here, but I'm not sure - somebody correct me if I'm getting
it all wrong). In general there is quite a number of features in GTK
that I only have a vague idea of what they do and how should they be
used. Some good documentation would help enormously here since reading a
lot of somebody else's source really puts me off.
regards,
jaKa
--
email: jaka.mocnik@kiss.uni-lj.si
w3: http://www.kiss.uni-lj.si/~k4fe0026
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]