func (app Application) SetApplicationVersion(version string) {
	cVersion := C.CString(version)
	defer C.free(unsafe.Pointer(cVersion))
	C.App_SetApplicationVersion(cVersion)
}
SetApplicationVersion sets the version of this application
package qamel
import "C"
import (
	"runtime"
	"strings"
	"unsafe"
)
func init() {
	runtime.LockOSThread()
}
type Application struct {
	ptr unsafe.Pointer
}
func NewApplication(argc int, argv []string) *Application {
	argvC := C.CString(strings.Join(argv, "|"))
	defer C.free(unsafe.Pointer(argvC))
	ptr := C.App_NewApplication(C.int(int32(argc)), argvC)
	return &Application{ptr: ptr}
}
func SetAttribute(attribute Attribute, on bool) {
	C.App_SetAttribute(C.longlong(attribute), C.bool(on))
}
func (app Application) SetFont(fontFamily string, pointSize int, weight FontWeight, italic bool) {
	cFontFamily := C.CString(fontFamily)
	defer C.free(unsafe.Pointer(cFontFamily))
	C.App_SetFont(cFontFamily, C.int(int32(pointSize)), C.int(weight), C.bool(italic))
}
func (app Application) SetQuitOnLastWindowClosed(quit bool) {
	C.App_SetQuitOnLastWindowClosed(C.bool(quit))
}
func (app Application) SetApplicationDisplayName(name string) {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))
	C.App_SetApplicationDisplayName(cName)
}
func (app Application) SetWindowIcon(fileName string) {
	cFileName := C.CString(fileName)
	defer C.free(unsafe.Pointer(cFileName))
	C.App_SetWindowIcon(cFileName)
}
func (app Application) SetApplicationName(name string) {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))
	C.App_SetApplicationName(cName)
}