]> Pileus Git - ~andy/gtk/commit
new function to set the current focus_child of a container, does proper
authorTim Janik <timj@gtk.org>
Sun, 3 May 1998 15:45:08 +0000 (15:45 +0000)
committerTim Janik <timj@src.gnome.org>
Sun, 3 May 1998 15:45:08 +0000 (15:45 +0000)
commit19bbe0557f255fe37c19666f434705295a71d750
tree4cae67475368b72c7b73615fb01d17a78dd5127e
parent2ca03393f56cb2bcae28a35c48f0dec1a725ae73
new function to set the current focus_child of a container, does proper

Sun May  3 16:55:43 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
                set the current focus_child of a container, does proper referencing and
                        adjusts the vadjustment/hadjustment associated with the focus widget.

                                * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
                                        containers via gtk_container_set_focus_child.

                                                * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
                                                        where appropriate.

                                                                * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
                                                                        child since not every child removal goes through this function (this
                                                                                showed up after gtk_container_set_focus_child() started to reference the
                                                                                        focus_child of a container).

                                                                                                * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
                                                                                                        of a container from gtk_container_remove into this place.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkcontainer.c
gtk/gtkcontainer.h
gtk/gtknotebook.c
gtk/gtkwidget.c