GNOME Bugzilla – Bug 303044
arbitary constructors for Glade::Xml::get_widget_derived
Last modified: 2018-08-17 19:24:21 UTC
This patch allows derived widgets constructed from get_widget_derived to have arbitrary constructors.
Created attachment 46029 [details] [review] The patch.
Created attachment 46031 [details] [review] Correct patch. Oops, forgot to clean. Attached correct version.
Thanks. Sorry for the delay. So, get_widget_derived() takes a slot and calls to instantiate the widget, so that the widget's constructor can have the Glade::Xml parameter at any position in the parameter list. However, derived widgets would still need/want to take the Glade::Xml parameter in their constructor. When would this be helpful?
libglademm is not under active development anymore since 2011. Its codebase has been archived: https://gitlab.gnome.org/Archive/libglademm/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.