GtkWidgetClass.getPreferredWidthForHeight

This is analogous to #GtkWidgetClass.get_preferred_height_for_width() except that it operates in the oposite orientation. It’s rare that a widget actually does gtk.types.SizeRequestMode.WidthForHeight requests but this can happen when, for example, a widget or container gets additional columns to compensate for a smaller allocated height.

struct GtkWidgetClass
extern (C)
void function(GtkWidget* widget, int height, int* minimumWidth, int* naturalWidth) getPreferredWidthForHeight;