// Code generated by girgen. DO NOT EDIT.

package adw

import (
	"unsafe"

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

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

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

// toggleClass is the struct that's finalized.
type toggleClass struct {
	native *C.AdwToggleClass
}

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

// toggleGroupClass is the struct that's finalized.
type toggleGroupClass struct {
	native *C.AdwToggleGroupClass
}

func (t *ToggleGroupClass) ParentClass() *gtk.WidgetClass {
	valptr := &t.native.parent_class
	var _v *gtk.WidgetClass // out
	_v = (*gtk.WidgetClass)(gextras.NewStructNative(unsafe.Pointer(valptr)))
	return _v
}
