GtkWidgetClass.getPreferredHeightForWidth

This is similar to #GtkWidgetClass.get_preferred_height() except that it is passed a contextual width to request height for. By implementing this virtual method it is possible for a #GtkLabel to tell its parent how much height would be required if the label were to be allocated a said width.

struct GtkWidgetClass
extern (C)
void function(GtkWidget* widget, int width, int* minimumHeight, int* naturalHeight) getPreferredHeightForWidth;