Clarify documentation of GtkScrolledWindow.set_[min,max]_content_[width,height]
This may sound like a stupid question (hell, it may BE a stupid question), but the docs for both the Gtk3 and Gtk4 versions of ScrolledWindow
have notes attached to all of the min/max size-property setters worded similar to this one from set_min_content_height()
:
It is a programming error to set the minimum content height to a value greater than
GtkScrolledWindow:max-content-height
.
...My question is, does that hold even if max-content-height
is -1
? IOW, is it required to set both the min
and max
values for a dimension, when setting one of them? Or can the other boundary safely be left at -1
?
Edited by FeRD (Frank Dana)