Documentation

agape

An easy to use rust GUI library.

example workflow

Quick start

use agape::{App,widgets::Text};

fn main() -> Result<(),agape::Error>{
	let text = Text::new("Hello world");

	let mut app = App::new(text);
	app.run()
}

Widgets

Alignment

There are two axes for each widget, the main axis and the cross axis, for most widgets the main axis is in the x-direction with the cross axis.

Axis Alignment Start Axis Alignment Center Axis Alignment End

HStack

The HStack is a Widget that arranges it's children horizontally.

Illustration

Support

Platform Status
Windows
MacOS
Linux
Web 🚧
Android 🚧
IOS 🚧

✅: Fully supported
🚧: Planned but not yet supported

Roadmap

  • text rendering
  • Grids
  • Row and column layouts
  • Input handling
    • Hover events
    • Click events
    • Text input
  • Scrolling

Names

  • cracoa
  • coco
  • agape
  • philia