gtk/gtk.go
func ScrollbarNew(orientation Orientation, adjustment *Adjustment) (*Scrollbar, error) {
	c := C.gtk_scrollbar_new(C.GtkOrientation(orientation), adjustment.native())
	if c == nil {
		return nil, nilPtrErr
	}
	return wrapScrollbar(glib.Take(unsafe.Pointer(c))), nil
}
func ScrollbarNew(orientation Orientation, adjustment *Adjustment) (*Scrollbar, error) {
	c := C.gtk_scrollbar_new(C.GtkOrientation(orientation), adjustment.native())
	if c == nil {
		return nil, nilPtrErr
	}
	return wrapScrollbar(glib.Take(unsafe.Pointer(c))), nil
}
func ScrollbarNew ( orientation Orientation , adjustment * Adjustment ) ( * Scrollbar , error ) { c := C . gtk_scrollbar_new ( C . GtkOrientation ( orientation ) , adjustment . native ( ) ) if c == nil { return nil , nilPtrErr } return wrapScrollbar ( glib . Take ( unsafe . Pointer ( c ) ) ) , nil }
// ScrollbarNew is a wrapper around gtk_scrollbar_new().
ScrollbarNew is a wrapper around gtk_scrollbar_new () .