{"id":26751626,"url":"https://github.com/fernandolguevara/tcltk.c3l","last_synced_at":"2026-02-07T08:03:08.388Z","repository":{"id":260530604,"uuid":"881562664","full_name":"fernandolguevara/tcltk.c3l","owner":"fernandolguevara","description":"Tcl/Tk bindings for c3 (WIP)","archived":false,"fork":false,"pushed_at":"2024-11-02T23:15:11.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T14:45:24.393Z","etag":null,"topics":["c3","tcl","tcl-tk","tk"],"latest_commit_sha":null,"homepage":"","language":null,"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/fernandolguevara.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-31T20:20:32.000Z","updated_at":"2024-11-02T23:15:14.000Z","dependencies_parsed_at":"2024-10-31T21:23:19.299Z","dependency_job_id":"0708cffb-43ac-463f-8894-68b00625f2b5","html_url":"https://github.com/fernandolguevara/tcltk.c3l","commit_stats":null,"previous_names":["fernandolguevara/tcltk.c3l"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fernandolguevara/tcltk.c3l","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Ftcltk.c3l","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Ftcltk.c3l/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Ftcltk.c3l/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Ftcltk.c3l/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernandolguevara","download_url":"https://codeload.github.com/fernandolguevara/tcltk.c3l/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernandolguevara%2Ftcltk.c3l/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29189675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c3","tcl","tcl-tk","tk"],"created_at":"2025-03-28T12:19:56.884Z","updated_at":"2026-02-07T08:03:08.368Z","avatar_url":"https://github.com/fernandolguevara.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tcl/Tk bindings for c3\n\n## Example\n\n```c++ \nmodule app;\n\nimport std::io, tcltk;\n\nfn CInt on_btn_clicked(CInt clientData, Tcl_Interp* tcl_interp, CInt argc, void* argv) {\n    io::printn(\"called from tcl/tk\");\n    \n    CInt rc = tcltk::tcl_eval(tcl_interp, `\ntk_messageBox -message \"Really quit?\" \\\n    -icon question -type yesno \\\n    -detail \"Select \\\"Yes\\\" to make the application exit\"\n`);\n    if(rc == 0) {\n        ZString answer = tcltk::tcl_get_string_result(tcl_interp);\n        if(answer.str_view() == \"yes\"){\n            io::printn(\"quiting...\");\n            defer tcltk::tcl_exit(0);\n        }\n    }\n    return 0;\n}\n\nfn void! main(String[] args) {\n    Tcl_Interp* tcl_interp = tcltk::tcl_create_interp();\n    \n    if(!tcl_interp) {\n        io::printn(\"can not create tcl interpreter.\");\n    }\n\n    tcltk::tcl_init(tcl_interp);\n    tcltk::tk_init(tcl_interp);\n\n    ZString script = `\n        puts \"Hello, from Tcl/Tk!\"\n        package require Tk\n        button .btnExit -text \"Click me!\" -command exitProc\n        pack .btnExit\n    `;  \n\n    tcltk::tcl_create_command(tcl_interp, \"exitProc\", \u0026on_btn_clicked, 0, null);\n\n    CInt rc = tcltk::tcl_eval(tcl_interp, script);\n    if(rc == 0){\n        for(;;) {\n            tcltk::tcl_do_one_event(0);\n        }\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandolguevara%2Ftcltk.c3l","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernandolguevara%2Ftcltk.c3l","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernandolguevara%2Ftcltk.c3l/lists"}