]> Pileus Git - ~andy/gtk/commitdiff
added a section on scrolled windows and scrollable widgets.
authorTim Janik <timj@gtk.org>
Tue, 24 Nov 1998 07:23:06 +0000 (07:23 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 24 Nov 1998 07:23:06 +0000 (07:23 +0000)
Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>

        * docs/Changes-1.2.txt: added a section on scrolled windows and
        scrollable widgets.

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
docs/Changes-1.2.txt

index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 4c43b6a77636366c512b1aba075b62f9d1ab3d96..b19672dbaa66f0a75df48bf363e9dd906c700fb0 100644 (file)
@@ -1,3 +1,8 @@
+Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
+
+       * docs/Changes-1.2.txt: added a section on scrolled windows and
+       scrollable widgets.
+
 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
 
        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
index 6474d6ec9992378a93a021cb0c81a5b342c217ab..301991f4150f985d27d27057b5764947b844736b 100644 (file)
@@ -60,5 +60,24 @@ Incompatible Changes from GTK+-1.0 to GTK+-1.2:
      If you need to do that, use a GtkDrawingArea or (for a 
      toplevel) the new GtkDrawWindow widget.
 
-
-
+* Scrolled windows do not create an automatic viewport anymore, and
+  self scrolling widgets do not provide their own scrollbars any
+  further. Self scrolling widgets of the Gtk+ core currently are
+  GtkViewport, GtkCList, GtkCTree, GtkText and GtkLayout. All of
+  these widgets can be added to a scrolled window as normal children
+  with gtk_container_add() and their scrolling abilities will be setup
+  appropriatedly in an automatic manner.
+  Widgets that do not implement own scrolling abilities but get added
+  to a scrolled window in order to have their allocations scrollable
+  inside of the scrolled window (e.g. a GtkList) have first to be added
+  to a GtkViewport, and then the viewport needs to be added to the
+  scrolled window.
+  However, the scrolled window code provides a convenience function to
+  achive this:
+  gtk_scrolled_window_add_with_viewport() which will do exactly what
+  it says, add a child widget to a viewport and put that viewport into
+  the scrolled window.
+  Scrollbar policy adjustment needs to be perfomed on the scrolled window
+  with gtk_scrolled_window_set_policy() and is not longer maintained for
+  the child widgets (e.g. GtkCList's gtk_clist_set_policy() got removed).
+