From 19bbe0557f255fe37c19666f434705295a71d750 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 3 May 1998 15:45:08 +0000 Subject: new function to set the current focus_child of a container, does proper Sun May 3 16:55:43 1998 Tim Janik * 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.pre-2-0 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'ChangeLog.pre-2-0') diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 08226dd5a4..c334a7ddf2 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,23 @@ +Sun May 3 16:55:43 1998 Tim Janik + + * 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. + Sat May 2 22:33:45 1998 Tim Janik * gtk/gtksignal.c: added new functions to operate on intermediate -- cgit v1.2.1