{"id":19474780,"url":"https://github.com/xigh/winit-up-to-date-simple-example","last_synced_at":"2026-06-15T19:31:48.085Z","repository":{"id":227935652,"uuid":"772758824","full_name":"xigh/winit-up-to-date-simple-example","owner":"xigh","description":"Simple (at least I tried) Rust winit example","archived":false,"fork":false,"pushed_at":"2025-06-12T21:14:15.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T22:22:06.752Z","etag":null,"topics":["rust","windowing","winit"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/xigh.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":"2024-03-15T20:51:21.000Z","updated_at":"2025-06-12T21:14:18.000Z","dependencies_parsed_at":"2024-04-09T11:47:08.905Z","dependency_job_id":null,"html_url":"https://github.com/xigh/winit-up-to-date-simple-example","commit_stats":null,"previous_names":["xigh/winit-up-to-date-simple-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xigh/winit-up-to-date-simple-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xigh","download_url":"https://codeload.github.com/xigh/winit-up-to-date-simple-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34377872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["rust","windowing","winit"],"created_at":"2024-11-10T19:26:57.588Z","updated_at":"2026-06-15T19:31:48.063Z","avatar_url":"https://github.com/xigh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple (at least I tried) Rust winit example \"0.29.15\"\n\nThis simple example only create windows and manage windows list.\n\nThe [ZxWindow](https://github.com/xigh/winit-up-to-date-simple-example/blob/master/src/window/mod.rs#L27) structure is an abstration to a Window. You can put everything in here. For the moment, it only implements : \n\n```rust\npub fn on_key_input(\u0026mut self, code: KeyCode, pressed: bool, queue: \u0026Rc\u003cCmdQueue\u003e)\n```\n\nWhere [CmdQueue](https://github.com/xigh/winit-up-to-date-simple-example/blob/master/src/cmd.rs#L7) allows the method to communicate with the event_loop, by example, in order to create new windows (you can add other commands).\n\nAnd the event_loop handles ZxWindow list. If this list is empty, the application exists.\n\n# next steps : \n\n- [ ] add wgpu stuff \n- [ ] implements other events\n- [ ] add async ops (threads, update cmdqueue)\n- [ ] add fullscreen support\n- [ ] add system tray icons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigh%2Fwinit-up-to-date-simple-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxigh%2Fwinit-up-to-date-simple-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigh%2Fwinit-up-to-date-simple-example/lists"}