rayquiro.app
rayquiro.app is a low-level native module for creating desktop applications with manually positioned Win32 controls, buttons, and text blocks. It provides a lightweight alternative to the styled rayquiro.ui framework.
🚀 Installation
Install globally on your machine:
rqio install rayquiro.app
Or install locally in your project folder:
rqio install rayquiro.app --local
🌐 Import
import rayquiro.app as app;
🛠️ API Functions
app.init(title, width, height)
Creates the main utility desktop window.
title(string) — Window title.width(number) — Window width in pixels.height(number) — Window height in pixels.
app.button(text, x, y, width, height)
Renders a button at the specified coordinates.
text(string) — Button label.x(number) — Horizontal offset from top-left corner in pixels.y(number) — Vertical offset from top-left corner in pixels.width(number) — Button width in pixels.height(number) — Button height in pixels.
app.text(text, x, y, width, height)
Renders a static text block at the specified coordinates.
text(string) — Label content text.x(number) — Horizontal offset from top-left.y(number) — Vertical offset from top-left.width(number) — Text block width in pixels.height(number) — Text block height in pixels.
app.msg(title, text)
Displays a native blocking message dialogue box.
title(string) — Dialog window title.text(string) — Inside message content.
app.run()
Starts the native window message loop. Keep in mind that if you forget to call app.run(), the window will immediately close as soon as the main script ends.