Search by

jovian / venusian-gtk

projectsaturnstudios

GTK 4 toolkit driver for the Venusian Surface bridge: connects PHP to GtkApplication, opens its windows and builds their menu bars through ext-gtk.

0.11.3 2026-11-28 21:16 UTC

This package is auto-updated.

Last update: 2026-12-02 21:48:54 UTC


README

Tests Latest Version on Packagist Total Downloads License

About Venusian GTK

Note: This repository contains the GTK toolkit driver for the Venusian framework. If you want to build an application using Venusian, visit the main Venusian skeleton repository.

Venusian GTK is the GTK 4 toolkit driver for Venusian Topside: it connects PHP to GtkApplication, opens its windows, builds their menu bars and turns Topside's views into real GTK widgets through ext-gtk, all in the Laravel-like syntax you already know.

Want a Linux desktop app that feels at home on GNOME and beyond? Write your view once with Topside and Venusian GTK gives you the real thing: native buttons, text inputs and areas, tables, lists and trees, split and tab views, dialogs, the clipboard, and a menu bar whose Edit items, accelerators and enabled states behave the way GTK users expect.

Need video? A video view plays a file or an https URL through the player you pick in config: GStreamer's playbin through jovian/venusian-gstreamer, drawn straight into a GtkPicture. GTK's own media player is the default driver; on macOS it has no media backend, so the driver refuses to load there and a video view answers every source with a failure.

Need more than widgets? A canvas shows your framebuffer as a GTK texture with no pixel passing through PHP, and lends its surface to Venusian's rendering engines, so OpenGL and Vulkan draw straight into your window. And with HumanInput installed, the keyboard, the pointer and the wheel of your GTK windows read from the same app.

Linux first, macOS too. Venusian GTK runs wherever GTK 4 does, from a desktop to a Raspberry Pi; on macOS it runs on NSApplication alongside ext-appkit. Prefer another toolkit? Reach for jovian/venusian-qt, jovian/venusian-appkit or jovian/venusian-raven and keep the same views.

Built with AI assistance. This package was developed LLM-assisted — not vibe-coded. Generated code was deliberately prompted and reviewed by a professional software engineer. See AI-assisted development.

Learning Venusian GTK

Venusian GTK has documentation and guides on the Venusian website, starting with the overview: the session, windows and menus, primitives and input.

AI-assisted development

This codebase was built with LLM assistance under human direction. Prompts, reviews, and architectural decisions were owned by a professional software engineer — the model accelerates drafting and exploration; it does not replace judgment on APIs, dependency direction, or what ships.

Testing

The test suite needs ext-posi for its memory tests; the package does not. Those two cases, in tests/Integration/CanvasTest.php, allocate the memory they hand a canvas with ext-posi, and skip with a message that names it where it is not loaded. ext-posi is a require-dev and suggest entry, never a require. The Windowless suite puts nothing on screen; the Integration suite opens real windows.

Contributing

Thank you for considering contributing to Venusian GTK! The contribution guide can be found in the Venusian documentation.

Code of Conduct

In order to ensure that the Venusian community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Venusian GTK is open-sourced software licensed under the MIT license.