{"action":"opened","issue":{"url":"https://api.github.com/repos/elliotwoods/ofxClipboard/issues/1","labels_url":"https://api.github.com/repos/elliotwoods/ofxClipboard/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/elliotwoods/ofxClipboard/issues/1/comments","events_url":"https://api.github.com/repos/elliotwoods/ofxClipboard/issues/1/events","html_url":"https://github.com/elliotwoods/ofxClipboard/issues/1","id":54008308,"number":1,"title":"Why not use GLFW?","user":{"login":"danomatika","id":480637,"avatar_url":"https://avatars.githubusercontent.com/u/480637?v=3","gravatar_id":"","url":"https://api.github.com/users/danomatika","html_url":"https://github.com/danomatika","followers_url":"https://api.github.com/users/danomatika/followers","following_url":"https://api.github.com/users/danomatika/following{/other_user}","gists_url":"https://api.github.com/users/danomatika/gists{/gist_id}","starred_url":"https://api.github.com/users/danomatika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danomatika/subscriptions","organizations_url":"https://api.github.com/users/danomatika/orgs","repos_url":"https://api.github.com/users/danomatika/repos","events_url":"https://api.github.com/users/danomatika/events{/privacy}","received_events_url":"https://api.github.com/users/danomatika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-11T22:49:02Z","updated_at":"2015-01-11T22:49:02Z","closed_at":null,"body":"GLFW supports this already. I'm [using it in ofxGLEditor](https://github.com/Akira-Hayasaka/ofxGLEditor/blob/master/src/ofxEditor.cpp#L1330): \r\n\r\n    // set clipboard\r\n    ofAppGLFWWindow *window = (ofAppGLFWWindow *) ofGetWindowPtr();\r\n    glfwSetClipboardString(window->getGLFWWindow(), getText().c_str());\r\n    \r\n    // get clipboard\r\n    \r\n    ofAppGLFWWindow *window = (ofAppGLFWWindow *) ofGetWindowPtr();\r\n    const char * text = glfwGetClipboardString(window->getGLFWWindow());"}}