{"id":20697179,"url":"https://github.com/tsnsoft/netbeans_wxwidgets_div2_demo","last_synced_at":"2025-04-22T20:45:08.455Z","repository":{"id":119295856,"uuid":"313197071","full_name":"tsnsoft/NetBeans_wxWidgets_Div2_demo","owner":"tsnsoft","description":"Пример визуальной программы с wxWidgets на C++ в NetBeans с использованием wxFormBuilder для Linux","archived":false,"fork":false,"pushed_at":"2020-11-16T06:31:46.000Z","size":380,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-29T18:41:34.415Z","etag":null,"topics":["cpp","example","linux","netbeans","wxformbuilder","wxwidgets"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsnsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-16T05:08:20.000Z","updated_at":"2021-01-13T04:13:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"79b73b2c-c526-4ee3-874c-7738a75493b1","html_url":"https://github.com/tsnsoft/NetBeans_wxWidgets_Div2_demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FNetBeans_wxWidgets_Div2_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FNetBeans_wxWidgets_Div2_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FNetBeans_wxWidgets_Div2_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FNetBeans_wxWidgets_Div2_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsnsoft","download_url":"https://codeload.github.com/tsnsoft/NetBeans_wxWidgets_Div2_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250322018,"owners_count":21411684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","example","linux","netbeans","wxformbuilder","wxwidgets"],"created_at":"2024-11-17T00:17:00.591Z","updated_at":"2025-04-22T20:45:08.448Z","avatar_url":"https://github.com/tsnsoft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetBeans_wxWidgets_Div2_demo\nПример визуальной программы с wxWidgets на C++ в NetBeans\nс использованием wxFormBuilder для Linux\n\n![srcreenshot](screenshot.png)\n\n![srcreenshot](screenshot1.png)\n\n![srcreenshot](screenshot2.png)\n\n![srcreenshot](screenshot3.png)\n\n```\n`wx-config --cxxflags`\n`wx-config --libs`\n```\n\n```\n// ЭТО РЕАЛИЗАЦИЯ НАШЕГО МЕТОДА ОБРАБОТЧИКА СОБЫТИЯ НАЖАТИЯ НА КНОПКУ!\nvoid MainFrame::myClick(wxCommandEvent\u0026 event) {\n    try {\n        double a, b, c;\n        if (!m_textCtrl1-\u003eGetValue().ToDouble(\u0026a))\n            throw std::logic_error(\"Ошибка: a\");\n        if (!m_textCtrl2-\u003eGetValue().ToDouble(\u0026b))\n            throw std::logic_error(\"Ошибка: b\");\n        c = a / b;\n        if (isnan(c) || isinf(c)) {\n            throw std::logic_error(\"Ошибка: 0/0 or x/0\");\n        }\n        m_staticText2-\u003eSetLabel(wxString::Format(\"%.5f\", c));\n    } catch (std::exception\u0026 e) {\n        m_staticText2-\u003eSetLabel(\"???\");\n        wxMessageBox(wxString::FromUTF8(e.what()) + wxT(\"! Исправьте !\"));\n    }\n}\n```\nhttps://wiki.wxwidgets.org/Netbeans\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fnetbeans_wxwidgets_div2_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsnsoft%2Fnetbeans_wxwidgets_div2_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fnetbeans_wxwidgets_div2_demo/lists"}