Move min-display-width/height to GtkScrolledWindow

It is just too annoying to have to implement these properties in
every scrollable. Instead, we now have ::min-content-height/width
in GtkScrolledWindow.

We also add GtkScrollablePolicy to determine how to size the
scrollable content.
This commit is contained in:
Matthias Clasen
2010-10-22 18:46:33 +02:00
parent ce5a29bc38
commit 0d9ebb501d
14 changed files with 304 additions and 355 deletions

View File

@ -2751,10 +2751,6 @@ gtk_scrollable_get_hadjustment
gtk_scrollable_set_hadjustment
gtk_scrollable_get_vadjustment
gtk_scrollable_set_vadjustment
gtk_scrollable_get_min_display_width
gtk_scrollable_set_min_display_width
gtk_scrollable_get_min_display_height
gtk_scrollable_set_min_display_height
<SUBSECTION Standard>
GtkScrollableIface
@ -2804,6 +2800,16 @@ gtk_scrolled_window_set_vadjustment
gtk_scrolled_window_get_placement
gtk_scrolled_window_get_policy
gtk_scrolled_window_get_shadow_type
gtk_scrolled_window_get_min_content_width
gtk_scrolled_window_set_min_content_width
gtk_scrolled_window_get_min_content_height
gtk_scrolled_window_set_min_content_height
GtkScrollablePolicy
gtk_scrolled_window_get_hscroll_policy
gtk_scrolled_window_set_hscroll_policy
gtk_scrolled_window_get_vscroll_policy
gtk_scrolled_window_set_vscroll_policy
<SUBSECTION Standard>
GTK_SCROLLED_WINDOW
GTK_IS_SCROLLED_WINDOW