After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 303044 - arbitary constructors for Glade::Xml::get_widget_derived
arbitary constructors for Glade::Xml::get_widget_derived
Status: RESOLVED WONTFIX
Product: libglademm
Classification: Other
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: libglademm-maint
libglademm-maint
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-05-04 20:12 UTC by Marek Materzok
Modified: 2018-08-17 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The patch. (4.57 KB, patch)
2005-05-04 20:13 UTC, Marek Materzok
none Details | Review
Correct patch. (2.80 KB, patch)
2005-05-04 20:33 UTC, Marek Materzok
none Details | Review

Description Marek Materzok 2005-05-04 20:12:06 UTC
This patch allows derived widgets constructed from get_widget_derived to have
arbitrary constructors.
Comment 1 Marek Materzok 2005-05-04 20:13:05 UTC
Created attachment 46029 [details] [review]
The patch.
Comment 2 Marek Materzok 2005-05-04 20:33:37 UTC
Created attachment 46031 [details] [review]
Correct patch.

Oops, forgot to clean. Attached correct version.
Comment 3 Murray Cumming 2005-12-19 09:32:07 UTC
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?
Comment 4 André Klapper 2018-08-17 19:24:03 UTC
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.