gdk/gdk_since_3_16.go
func (v *GLContext) GetVersion() (MajorVersion, MinorVersion) {
	var major, minor int
	C.gdk_gl_context_get_version(v.native(),
		(*C.int)(unsafe.Pointer(&major)), (*C.int)(unsafe.Pointer(&minor)))

	return MajorVersion(major), MinorVersion(minor)
}
func (v *GLContext) GetVersion() (MajorVersion, MinorVersion) {
	var major, minor int
	C.gdk_gl_context_get_version(v.native(),
		(*C.int)(unsafe.Pointer(&major)), (*C.int)(unsafe.Pointer(&minor)))

	return MajorVersion(major), MinorVersion(minor)
}
func ( v * GLContext ) GetVersion ( ) ( MajorVersion , MinorVersion ) { var major , minor int C . gdk_gl_context_get_version ( v . native ( ) , ( * C . int ) ( unsafe . Pointer ( & major ) ) , ( * C . int ) ( unsafe . Pointer ( & minor ) ) ) return MajorVersion ( major ) , MinorVersion ( minor ) }
// GetVersion is a wrapper around gdk_gl_context_get_version().
GetVersion is a wrapper around gdk_gl_context_get_version () .