Re: Hoe to create Singleton objects with GObjects ?

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

 



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/
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux