SkillAgentSearch skills...

Giox

giox is an extension to gioui

Install / Use

/learn @dejadejade/Giox
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

giox is an extension POC to gioui (WIP)

Example is based on gio example. Format API is partially based on https://git.sr.ht/~eliasnaur/giox/tree/master/layout/format.go.

API: Format to create a flex/stack and Widget to stylize a widget

func Format(gtx C, style string, children ...ChildSpec) D
func Widget(gtx C, style string, w layout.Widget) D

When creating a flex/stack the first section of the style is reserved for the container and the children. The first section or its parameters can be omitted when not applicable or default (0).

First section for container could be:

	hflex(params): Horizontal Flex
	vflex(params): Vertical Flex
	stack(params): Stack

First section for children could be

	f(weight) for Flexed FlexChild
	e for  Expanded StackChild

Usage:

	fn.Format(gtx, "hflex;border(0,0,0,1,a0b0c0);inset(8,16,8,8)",
		fn.Child(";rounded(48)", Avatar(user)),
		fn.Child("f;inset(8,0,0,0)", material.Caption(theme, msg).Layout))
View on GitHub
GitHub Stars15
CategoryDevelopment
Updated9mo ago
Forks3

Languages

Go

Security Score

67/100

Audited on Jun 22, 2025

No findings