Constructor
GtkScrolledWindownew
Declaration [src]
GtkWidget*
gtk_scrolled_window_new (
GtkAdjustment* hadjustment,
GtkAdjustment* vadjustment
)
Description [src]
Creates a new scrolled window.
The two arguments are the scrolled window’s adjustments; these will be
shared with the scrollbars and the child widget to keep the bars in sync
with the child. Usually you want to pass NULL
for the adjustments, which
will cause the scrolled window to create them for you.
Parameters
hadjustment
-
Type:
GtkAdjustment
Horizontal adjustment.
The argument can be NULL
.The data is owned by the caller of the function. vadjustment
-
Type:
GtkAdjustment
Vertical adjustment.
The argument can be NULL
.The data is owned by the caller of the function.
Return value
Type: GtkWidget
A new scrolled window.
The data is owned by the called function. |