{"id":16173166,"url":"https://github.com/joeferner/wxnode","last_synced_at":"2025-03-19T00:30:48.881Z","repository":{"id":2216551,"uuid":"3166078","full_name":"joeferner/wxNode","owner":"joeferner","description":"node.js wrapper for wxWidgets","archived":false,"fork":false,"pushed_at":"2012-10-09T17:22:11.000Z","size":26761,"stargazers_count":43,"open_issues_count":4,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-28T13:23:12.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joeferner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-12T21:40:43.000Z","updated_at":"2024-10-16T16:26:02.000Z","dependencies_parsed_at":"2022-08-06T12:01:24.144Z","dependency_job_id":null,"html_url":"https://github.com/joeferner/wxNode","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2FwxNode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2FwxNode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2FwxNode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeferner%2FwxNode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeferner","download_url":"https://codeload.github.com/joeferner/wxNode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243955805,"owners_count":20374373,"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":[],"created_at":"2024-10-10T04:06:56.919Z","updated_at":"2025-03-19T00:30:47.745Z","avatar_url":"https://github.com/joeferner.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feel free to use this module but, I am no longer supporting it in favor of [AppJs](https://github.com/appjs/appjs)\n\n# wxNode\n\nnode.js wrapper for wxWidgets.\n\n## Installation Linux\n\n* Download and install wxWidgets 2.9.3.\n\n```bash\n$ npm install wxnode\n```\n\n## Installation Windows\n\n* Download wxWidgets 2.9.3.\n* Download and install node from source (release, 64-bit) \"vcbuild.bat release\"\n\n```bash\ncd d:\\dev\\wxWidgets-2.9.3\\build\\msw\nnmake -f makefile.vc BUILD=release UNICODE=1 RUNTIME_LIBS=static DEBUG_FLAG=0\nset WXWIN=d:\\dev\\wxWidgets-2.9.3\nset WXCFG=vc_lib\\mswu\ncd d:\\dev\\wxNode\nnode mnm.js build\n```\n\n## Try an example\n\n```javascript\nnode examples/helloWorld.js\nnode examples/...\n```\n\n## Quick Examples\n\n```javascript\nvar wx = require(\"wxnode\");\n\nvar MyApp = wx.App.extend({\n  onInit: function() {\n    var location = new wx.Point(50, 50);\n    var size = new wx.Size(450, 340);\n    var frame = new MyFrame(\"Hello World\", location, size);\n    frame.show(true);\n    this.setTopWindow(frame);\n    return true;\n  }\n});\n\nvar MyFrame = wx.Frame.extend({\n  init: function(title, pos, size) {\n    this._super(null, -1, title, pos, size);\n\n    this.EVT_CLOSE(this.onClose);\n  },\n\n  onClose: function(event) {\n    process.exit();\n  }\n});\n\nvar app = new MyApp();\napp.run();\n```\n\n## Building wxWidgets linux\n```bash\n$ sudo apt-get install libwebkitgtk-dev\n$ sudo ldconfig\n$ ./configure --enable-webview --enable-webview-webkit \u0026\u0026 make\n$ sudo make install\n```\n\n\u003ca name=\"create-wxapi\"/\u003e\n## Creating wxapi.xml from wxWidgets\n\n```bash\n$ sudo apt-get install libwebkitgtk-dev\n$ cd wxWidgets-2.9.3/docs/doxygen\n$ ./regen.sh xml\n$ cd ../..\n$ ./configure --enable-webview --enable-webview-webkit\n$ patch -p0 -i ~/wxNode/rungccxml.sh.patch\n$ patch -p0 -i ~/wxNode/strvararg.h.patch\n$ cd utils/ifacecheck/\n$ ./rungccxml.sh\n$ cp wxapi.xml ~/wxNode/wxapi.xml\n$ cd ~/wxNode\n$ rm wxapi.json\n$ rm -rf build\n$ ./render-templates.js \u0026\u0026 ./mnm.js build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeferner%2Fwxnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeferner%2Fwxnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeferner%2Fwxnode/lists"}