12 Jun
2010
12 Jun
'10
6:39 a.m.
On Jun 11, 2010, at 2:37 PM, Krzysztof KosiĆski wrote:
I guess someone didn't know how Gtk::manage works and assumed that every widget has to be a member of the dialog's class, so it is destroyed when the the dialog is closed.
That's not the main reason.
One of the reasons that was at least meaningful early on is to allow access to widgets after construction.
Sometimes you can set everything up cleanly in event handlers, but I've see it more common to come up with needing to access at least some widgets in other handlers, etc.