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

@ -49,12 +49,6 @@ void gtk_scrollable_set_hadjustment (GtkScrollable *scrollable,
GtkAdjustment *gtk_scrollable_get_vadjustment (GtkScrollable *scrollable);
void gtk_scrollable_set_vadjustment (GtkScrollable *scrollable,
GtkAdjustment *vadjustment);
gint gtk_scrollable_get_min_display_width (GtkScrollable *scrollable);
void gtk_scrollable_set_min_display_width (GtkScrollable *scrollable,
gint width);
gint gtk_scrollable_get_min_display_height (GtkScrollable *scrollable);
void gtk_scrollable_set_min_display_height (GtkScrollable *scrollable,
gint height);
G_END_DECLS