Re: Hoe to create Singleton objects with GObjects ?

On Tue, Jun 26, 2007 at 08:11:39PM +0530, Gautam Ravi wrote:
> I dont know whether this is the right place to ask this question,

Yes, it is.

> 1. Is it possible to create singleton objects in GObjects ?

You can override the GObject constructor() method (function)
in your class.

> 2. Is it possible to create a final class ? (i.e A class which cannot be
> derived) in GObjects?

What are the expected performance or security benefits?
I would say none.  So why bother?



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