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 151275 - VariablesMap additions
VariablesMap additions
Status: RESOLVED FIXED
Product: libglademm
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-08-28 09:45 UTC by Alberto Paro
Modified: 2011-01-16 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
connection_variablesmap.patch (26.82 KB, patch)
2004-08-28 09:47 UTC, Alberto Paro
none Details | Review

Description Alberto Paro 2004-08-28 09:45:45 UTC
This patch allows to:
*to easy connect buttons and menuitems to an handler.
*Glade::VariablesMap handles Entry, ComboTextEntry, SpinButton, *Scale, Calendar
and CheckBox.
*Improved the example to handle new VariablesMap types.
Comment 1 Alberto Paro 2004-08-28 09:47:08 UTC
Created attachment 31045 [details] [review]
connection_variablesmap.patch
Comment 2 Murray Cumming 2004-08-30 20:05:50 UTC
This looks good, but we must wait for GNOME 2.9 to apply it, because GNOME 2.7
is past API-freeze. Thanks.

In future please, 
- do not change the version number in your patch.
- try to use pVar->get_day() rather than (*pVar).get_day().
- do not close your bugs as patched immediately after creating them.
Comment 3 Murray Cumming 2004-09-19 13:06:36 UTC
Committed to HEAD. I changed connect() to connect_clicked(), to avoid confusion
with xml_glade_connect(). I also corrected some english and made the coding
style consistent.

Thanks a lot. This works really well.