Constructor

GtkLayoutnew

Declaration [src]

GtkWidget*
gtk_layout_new (
  GtkAdjustment* hadjustment,
  GtkAdjustment* vadjustment
)

Description [src]

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.

Parameters

hadjustment

Type: GtkAdjustment

Horizontal scroll adjustment, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
vadjustment

Type: GtkAdjustment

Vertical scroll adjustment, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: GtkWidget

A new GtkLayout.

The data is owned by the called function.