Constructor

Gtk.Scrollbar.new

Declaration [src]

GtkWidget*
gtk_scrollbar_new (
  GtkOrientation orientation,
  GtkAdjustment* adjustment
)

Description [src]

Creates a new scrollbar with the given orientation.

Parameters

orientation GtkOrientation
 

the scrollbar’s orientation.

adjustment GtkAdjustment
 

the GtkAdjustment to use, or NULL to create a new adjustment.

 Can be NULL
 Ownership is not transferred to the callee

Return value

Returns: GtkWidget

the new GtkScrollbar.

Ownership is not transferred to the caller