Re: Hoe to create Singleton objects with GObjects ?
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: Hoe to create Singleton objects with GObjects ?
- Date: Tue, 26 Jun 2007 16:59:27 +0200
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?
Yeti
--
http://gwyddion.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]