Skip to content
Várnagy Zoltán edited this page Sep 10, 2026 · 4 revisions
class Vygu

The cardinal class for a vygu application. It is a singleton, which loads an appropriate engine on first use.

ENGINE The engine argument for ins()

function ins( $args=[] )

Get singleton value

  • $args (ENGINE: Gtk4::GTK4 | WinApi::`WINAPI )

  • return The singleton

function run()

Run the even loop until termination

function runStep( $wait )

Do a single step on the event loop

  • $wait Wait for at least one event to happen (bool)

  • return Has there been any events (bool)

Clone this wiki locally