{"id":20697214,"url":"https://github.com/tsnsoft/dialogblocks_test","last_synced_at":"2025-04-22T20:46:08.171Z","repository":{"id":119295843,"uuid":"311655249","full_name":"tsnsoft/DialogBlocks_test","owner":"tsnsoft","description":"Пример простейшей визуальной программы с wxWidgets для DialogBlocks","archived":false,"fork":false,"pushed_at":"2025-04-14T17:13:19.000Z","size":885,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-14T17:54:58.752Z","etag":null,"topics":["cpp","dialogblocks","example","wxwidgets"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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-10T12:44:15.000Z","updated_at":"2025-04-14T17:13:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"45a2666a-543c-4b56-b179-fd86512104b4","html_url":"https://github.com/tsnsoft/DialogBlocks_test","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%2FDialogBlocks_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FDialogBlocks_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FDialogBlocks_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FDialogBlocks_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsnsoft","download_url":"https://codeload.github.com/tsnsoft/DialogBlocks_test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250322044,"owners_count":21411694,"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","dialogblocks","example","wxwidgets"],"created_at":"2024-11-17T00:17:10.375Z","updated_at":"2025-04-22T20:46:08.164Z","avatar_url":"https://github.com/tsnsoft.png","language":"Batchfile","readme":"# DialogBlocks_test\nПример простейшей визуальной программы с wxWidgets для DialogBlocks\n\n![srcreenshot](screenshot.png)\n\n```\n#include \u003cwx/wx.h\u003e\n#include \"tsnsoft.xpm\" // Иконка в формате xpm\n\n// Главное окно приложения\nclass MyFrame : public wxFrame {\npublic:\n\tMyFrame() : wxFrame(nullptr, wxID_ANY, \"Test\", wxDefaultPosition, wxSize(300, 200)) {\n\t\tSetIcon(tsnsoft_xpm); // Установка иконки\n\n\t\tnew wxStaticText(this, wxID_ANY, wxT(\"Текстовая метка\"), wxPoint(100, 30));\n\n\t\twxButton* button = new wxButton(this, wxID_ANY, wxT(\"Нажми меня!\"),\n\t\t\twxPoint(100, 70), wxSize(100, 30)); // Создаём кнопку\n\n\t\tbutton-\u003eBind(wxEVT_BUTTON, \u0026MyFrame::OnButtonClick, this); // Обработчик нажатия кнопки\n\t}\n\nprivate:\n\tvoid OnButtonClick(wxCommandEvent\u0026) {\n\t\twxMessageBox(wxT(\"Привет! Это моя фраза!\"), wxT(\"Сообщение\"), wxOK | wxICON_INFORMATION, this);\n\t}\n};\n\n// Класс приложения\nclass MyApp : public wxApp {\npublic:\n\tvirtual bool OnInit() override {\n\t\tMyFrame* frame = new MyFrame();\n\t\tframe-\u003eShow(true);\n\t\tframe-\u003eCentre();\n\t\treturn true;\n\t}\n};\n\nwxIMPLEMENT_APP(MyApp); // Создание точки входа в приложение\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fdialogblocks_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsnsoft%2Fdialogblocks_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fdialogblocks_test/lists"}