{"action":"opened","issue":{"url":"https://api.github.com/repos/fruxo/turbobadger/issues/72","repository_url":"https://api.github.com/repos/fruxo/turbobadger","labels_url":"https://api.github.com/repos/fruxo/turbobadger/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/fruxo/turbobadger/issues/72/comments","events_url":"https://api.github.com/repos/fruxo/turbobadger/issues/72/events","html_url":"https://github.com/fruxo/turbobadger/issues/72","id":156315168,"number":72,"title":"Override TBWindow::OnInflate()","user":{"login":"karamellpelle","id":4390333,"avatar_url":"https://avatars.githubusercontent.com/u/4390333?v=3","gravatar_id":"","url":"https://api.github.com/users/karamellpelle","html_url":"https://github.com/karamellpelle","followers_url":"https://api.github.com/users/karamellpelle/followers","following_url":"https://api.github.com/users/karamellpelle/following{/other_user}","gists_url":"https://api.github.com/users/karamellpelle/gists{/gist_id}","starred_url":"https://api.github.com/users/karamellpelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karamellpelle/subscriptions","organizations_url":"https://api.github.com/users/karamellpelle/orgs","repos_url":"https://api.github.com/users/karamellpelle/repos","events_url":"https://api.github.com/users/karamellpelle/events{/privacy}","received_events_url":"https://api.github.com/users/karamellpelle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-23T16:52:01Z","updated_at":"2016-05-23T16:52:01Z","closed_at":null,"body":"I want to read a `TBWindow` from file into my root widget. The file `tb_widgets_reader.cpp` has no `TB_WIDGET_FACTORY` defined. I thought I could create this by myself and read custom properties by overriding `void TBWindow::OnInflate(const INFLATE_INFO& )` in one of my source files. But it is not possible to override that virtual function, see: http://stackoverflow.com/questions/2957984/why-i-have-to-redeclare-a-virtual-function-while-overriding-c . \r\n\r\nIs there a reason that there is no reader for `TBWindow`? The demo could benefit from that instead of reading window properties by hand as done in `void DemoWindow::LoadResource(TBNode &node)`. Or could you declare `OnInflate()` in `tb_window.h` (and other official subclasses of TBWidget)? Any other solution?"}}
{"actor":{"display_login":"karamellpelle"}}