summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-2
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog.pre-2-2')
-rw-r--r--ChangeLog.pre-2-270
1 files changed, 70 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index b873509e84..ad8a33cb27 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,73 @@
+Thu Nov 5 16:00:32 1998 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
+ vscrollbar_policy, hscrollbar_policy. added h/vadjustment.
+
+ * gtk/gtkclist.c (gtk_clist_class_init): added new args types
+ "hadjustment" & "vadjustment"
+ (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
+ set/get_arg functions
+ (gtk_clist_construct): don't create/adjust scrollbars.
+ (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
+ to set h/vadjustments
+ (gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
+ to query h/vadjustments
+ (create_scrollbars): removed.
+ (create_adjustments): replacement for create_scrollbars
+ (gtk_clist_new): call gtk_clist_new_with_titles
+ (gtk_clist_new_with_titles): don't warn on titles == NULL
+ (move_horizontal): use CLAMP instead
+ (gtk_clist_set_policy): deprecated method.
+ use gtk_scrolled_window_set_policy instead.
+ (vadjustment_value_changed): use clist->vadj.
+ (adjust_scrollbars): renamed to adjust_adjustments
+ (adjust_adjustments): former adjust_scrollbars
+ (gtk_clist_destroy): unref adjustments
+ (gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
+ (gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
+ (gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
+ (gtk_clist_thaw) (real_insert_row) (real_remove_row)
+ (gtk_clist_set_row_height) (real_resize_column):
+ call adjust_adjustments
+ (gtk_clist_moveto): return if clist has no adjustments yet.
+ (gtk_clist_parent_set): new GtkWidget::parent_set function.
+ Autogenerate h/vadjustments if needed.
+ (move_horizontal) (move_vertical): some cleanups
+
+ * gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
+ call only gtk_viewport_set_h/vadjustment and let these functions
+ do the work.
+ (gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
+ generate a new adjustment if needed
+
+ * gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
+ use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
+
+ * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
+ queue_resize if visibility of scrollbars changes
+ (gtk_scrolled_window_remove): only call container_remove with
+ scrolled_window->viewport automatically if viewport was autogenerated
+ (gtk_scrolled_window_add): add widget as scrolled_window->viewport.
+ auto create a viewport only if widget does not take h/vadjustments.
+ (gtk_scrolled_window_construct): don't generate a viewport
+ automatically.
+ (gtk_scrolled_window_forall): call callback with viewport in any case
+ (gtk_scrolled_window_set_arg): call gtk_container_add in case of
+ ARG_VIEWPORT
+ (gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
+ (gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
+ viewport != NULL
+
+ * gtk/testgtk.c
+ (create_ctree) (export_ctree) (create_clist): use a scrolled_window
+ in conjunction with clists/ctrees
+
+ * gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
+ in conjunction with clists
+
+ * gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
+ in conjunction with clists
+
Wed Nov 4 21:52:57 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment