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 58674 - Unable to determine when pages are added or removed from a GtkNotebook
Unable to determine when pages are added or removed from a GtkNotebook
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkNotebook
1.3.x
Other Solaris
: Normal normal
: Medium API
Assigned To: gtk-bugs
gtk-bugs
AP4
Depends on:
Blocks: 98878
 
 
Reported: 2001-08-07 09:25 UTC by padraig.obriain
Modified: 2006-03-21 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description padraig.obriain 2001-08-07 09:25:40 UTC
GtkNotebook does not emit a signal when pages are added or removed from a
GtkNotebook.

Thus, it is not possible to informa a disabled user when a GtkNotebook has
changed.
Comment 1 Owen Taylor 2001-08-23 19:25:44 UTC
Discussion in:
  http://mail.gnome.org/archives/gtk-devel-list/2001-August/msg00071.html

The lack of notification on child changes is a fairly major omission,
but I think we'll need to wait and deal with this for GTK+-2.2.


Comment 2 Owen Taylor 2001-08-23 19:25:57 UTC
Discussion in:
  http://mail.gnome.org/archives/gtk-devel-list/2001-August/msg00071.html

The lack of notification on child changes is a fairly major omission,
but I think we'll need to wait and deal with this for GTK+-2.2.


Comment 3 Calum Benson 2003-06-25 22:51:28 UTC
Marking AP2 to reflect a11y team's assessment of a11y impact.
Comment 4 bill.haneman 2003-06-26 23:20:32 UTC
GTK+-2.2 ?

please let's not slip it to gtk+-2.6 :-) or did this get fixed without
anyone noticing?

thanks.
Comment 5 Calum Benson 2003-08-07 16:13:09 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 6 padraig.obriain 2004-03-12 12:02:59 UTC
I can determine that a tab has been removed by blistening to the
parent-set signal on the child of the GtkNotebookPage.

I can determine that a tab has been created by checking when "page"
property notification is emitted on the GtkNoteBook.

Accordingly I am closing as NOTABUG.
Comment 7 Matthias Clasen 2004-03-12 12:18:16 UTC
I don't think listening for parent-set is considered an acceptable 
solution in general (though it may do to satisfy the immediate a11y 
needs until something better is available). 


Lets keep this open for a little longer. As Owen said above:


The lack of notification on child changes is a fairly major omission.
Comment 8 Tommi Komulainen 2004-05-31 10:28:54 UTC
Somewhat similar feature occurs with GtkBox and derivatives.  If you use
gtk_box_pack_*() functions you don't get any notifications when widgets are
added in the box.  Only if you use gtk_container_add() the signals are emitted.
 (Which is as designed, but arguably broken.)
Comment 9 Calum Benson 2004-10-21 16:40:42 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 10 Matthias Clasen 2006-03-21 16:45:34 UTC
We have page-added and page-removed signals now.