Run the following program:
public static void Main(string[] args)
{
Gtk.Application.Init();
Console.WriteLine (Gtk.Window.ListToplevels ().Length);
Gtk.ComboBox combo = new Gtk.ComboBox ();
Console.WriteLine (Gtk.Window.ListToplevels ().Length);
combo.Destroy ();
Console.WriteLine (Gtk.Window.ListToplevels ().Length);
}
It prints:
0
1
1
The new top level window is the menu used by the combo to show the
options, but that window is not destroyed when destroying the combo. Is
this a known issue or I'm missing something?
Lluis.
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list