{"id":22015409,"url":"https://github.com/tsukinoko-kun/maxfyne","last_synced_at":"2025-06-23T08:39:21.784Z","repository":{"id":254723384,"uuid":"847308160","full_name":"tsukinoko-kun/maxfyne","owner":"tsukinoko-kun","description":"Add the missing functionality of maximizing the Fyne windows.","archived":false,"fork":false,"pushed_at":"2024-08-25T16:07:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T19:17:27.969Z","etag":null,"topics":["fyne","golang","golang-library","gui","ui-library"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tsukinoko-kun.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-08-25T13:05:38.000Z","updated_at":"2024-08-25T16:18:05.000Z","dependencies_parsed_at":"2024-08-25T17:24:49.079Z","dependency_job_id":"e7a96000-e22c-4050-b305-0e96f63b9a49","html_url":"https://github.com/tsukinoko-kun/maxfyne","commit_stats":null,"previous_names":["tsukinoko-kun/maxfyne"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fmaxfyne","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fmaxfyne/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fmaxfyne/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fmaxfyne/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsukinoko-kun","download_url":"https://codeload.github.com/tsukinoko-kun/maxfyne/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078129,"owners_count":20557279,"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":["fyne","golang","golang-library","gui","ui-library"],"created_at":"2024-11-30T04:21:43.422Z","updated_at":"2025-03-23T08:44:39.270Z","avatar_url":"https://github.com/tsukinoko-kun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maxfyne\n\nAdd the missing functionality of maximizing the Fyne windows.\n\n## Usage\n\n```go\npackage main\n\nimport (\n    \"errors\"\n    \"fyne.io/fyne/v2/app\"\n    \"fyne.io/fyne/v2/widget\"\n    \"github.com/tsukinoko-kun/maxfyne\"\n)\n\nfunc main() {\n    a := app.New()\n    w := a.NewWindow(\"Example\")\n\n    w.SetContent(widget.NewLabel(\"Hello, World!\"))\n\n\t// Maximize needs to run in a goroutine\n    // because it may need to wait for the window to be initialized.\n    go func() {\n\t\t// you don't need to handle the error if you don't care about it\n\t\t// if Maximize fails, it will return an error\n        // no crash will occur\n        if err := maxfyne.Maximize(w); err != nil {\n            // maximize failed\n            if errors.Is(err, maxfyne.NotImplemented) {\n                // unsupported platform\n            } else {\n                // other error\n            }\n        }\n    }()\n\n    w.ShowAndRun()\n}\n```\n\n## Installation\n\n```shell\ngo get -u github.com/tsukinoko-kun/maxfyne\n```\n\n## Works on\n\n- [x] macOS\n- [x] Windows\n- [ ] Linux (Windows implementation might work here as well)\n\nOn unsupported platforms, `Maximize` will return `maxfyne.NotImplemented`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsukinoko-kun%2Fmaxfyne","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsukinoko-kun%2Fmaxfyne","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsukinoko-kun%2Fmaxfyne/lists"}