Create AG_Window type