Layout.this

Creates a new #GtkLayout. Unless you have a specific adjustment you’d like the layout to use for scrolling, pass %NULL for @hadjustment and @vadjustment.

  1. this(GtkLayout* gtkLayout, bool ownedRef)
  2. this(Adjustment hadjustment, Adjustment vadjustment)

Parameters

hadjustment Adjustment

horizontal scroll adjustment, or %NULL

vadjustment Adjustment

vertical scroll adjustment, or %NULL

Return: a new #GtkLayout

Throws

ConstructionException GTK+ fails to create the object.

Meta