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 99835 - virtual member functions not called in Gtk::Notebook
virtual member functions not called in Gtk::Notebook
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.0
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-11-28 18:09 UTC by Morten Brix Pedersen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample test-case (1.23 KB, text/plain)
2002-11-28 18:10 UTC, Morten Brix Pedersen
Details

Description Morten Brix Pedersen 2002-11-28 18:09:35 UTC
In a Gtk::Notebook, I'm trying to override the on_select_page() and
on_change_current_page virtual functions. But they aren't called when I
change tabs.

Attachment follows.
Comment 1 Morten Brix Pedersen 2002-11-28 18:10:38 UTC
Created attachment 12624 [details]
Sample test-case
Comment 2 Morten Brix Pedersen 2002-11-28 18:25:17 UTC
I tried connecting to the signal_select_page() signal, but the
connected function doesn't get called either.
Comment 3 Murray Cumming 2002-11-29 15:23:04 UTC
Have you tried switch_page?
Comment 4 Morten Brix Pedersen 2002-11-29 23:00:27 UTC
Just tried it, and it works.

This is still a bug though.
Comment 5 Murray Cumming 2002-11-30 14:06:00 UTC
Why. Do you know when those other signals should be called? They might
be keybinding signals. Try it in GTK+ if you think it's a bug.