Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *log.Logger = log.New(os.Stdout, "[cocoa] ", log.Lshortfile)

Functions

func ActivateApp

func ActivateApp()

func ConnectDestroySignal

func ConnectDestroySignal(window unsafe.Pointer, callback DestroyCallback)

func CreateWindow

func CreateWindow(title string, width int, height int) unsafe.Pointer

func GetExecutableDir

func GetExecutableDir() string

func InitializeApp

func InitializeApp()

Types

type DestroyCallback

type DestroyCallback func()

Source Files