Re: Obtaining all instances of a GType
- From: Havoc Pennington <hp redhat com>
- To: Giovanni Corriga <valkadesh libero it>
- Cc: gtk-list gnome org
- Subject: Re: Obtaining all instances of a GType
- Date: Wed, 16 Jul 2003 21:59:50 -0400
On Wed, Jul 16, 2003 at 01:57:09PM +0200, Giovanni Corriga wrote:
> Is there something similar for the GObject system? Something like
>
> GList* instances = g_type_get_all_instances(gtk_window_get_type());
No, a list of instances isn't kept. However GtkWindow instances
specifically are tracked by GTK, see gtk_window_list_toplevels().
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]