// Code generated by girgen. DO NOT EDIT.

package adw

import (
	"unsafe"

	"github.com/diamondburned/gotk4/pkg/core/gextras"
)

// #include <stdlib.h>
// #include <adwaita.h>
import "C"

// ButtonRowClass: instance of this type is always passed by reference.
type ButtonRowClass struct {
	*buttonRowClass
}

// buttonRowClass is the struct that's finalized.
type buttonRowClass struct {
	native *C.AdwButtonRowClass
}

func (b *ButtonRowClass) ParentClass() *PreferencesRowClass {
	valptr := &b.native.parent_class
	var _v *PreferencesRowClass // out
	_v = (*PreferencesRowClass)(gextras.NewStructNative(unsafe.Pointer(valptr)))
	return _v
}
