Re: bonobo questions
- From: Miguel de Icaza <miguel gnu org>
- To: Mlacage aol com
- CC: gnome-components-list gnome org
- Subject: Re: bonobo questions
- Date: Sun, 5 Sep 1999 13:49:02 -0500
> 1) i noticed that there is no gnome_object_new or
> gnmoe_object_new_with_servant function. Is this on purpose ? or is this
> something to be done ?
There is no use for a plain GnomeObject, it is an abstract class.
gnome_object_new_from_servant() might be a good addition. Could you
picture some case in which this could be used?
> 2) i noticed that impl_GNOME_Unknown_ref does not call gnome_object_ref .
> This is to be considered a bug i think.
The code does the equivalent code of gnome_object_ref, but for
maintainability it might be a good idea to do what you suggest.
> 4) what use is the query_interface signal ? is it aimed at allowing the user
> to hook its own signal handler on it ? If so, what could such a signal
> handler be usefull for ?
Yes, that is the idea.
The idea is to have a "virtual" big object. This enables the user to
delay initialization of expensive interfaces until they are actually
required.
For example, an interface that would take a lot of time to startup;
An interface that would use a lot of memory; An interface that is
very CPU intensive.
So we enable the user to do lazy-construction of his object.
Miguel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]