//GetAttribute returns an attribute of the window. There are many attributes, //some related to the window and others to its context. func (w *Window) GetAttribute(attrib Hint) int { return int(C.glfwGetWindowAttrib(w.data, C.int(attrib))) }
// GetAttrib returns an attribute of the window. There are many attributes, // some related to the window and others to its context. func (w *Window) GetAttrib(attrib Hint) int { ret := int(C.glfwGetWindowAttrib(w.data, C.int(attrib))) panicError() return ret }