fractk_macro

Crates.iofractk_macro
lib.rsfractk_macro
version0.0.3
sourcesrc
created_at2022-08-29 00:29:02.652427
updated_at2022-12-03 12:11:41.610728
descriptionA declarative desktop GUI framework - macro crate
homepagehttps://gitlab.com/madd-games/fractk
repositoryhttps://gitlab.com/madd-games/fractk
max_upload_size
id654109
size23,967
Madd Games (madd-games)

documentation

README

FracTK

FracTK is a GUI framework for Rust, for making desktop apps using a React-like API. It is backend-agnostic, and will try to use the native GUI library on each target. Currently, it uses the Windows API for windows targets, and GTK4 for unix targets.

Current state

The framework is currently in a pre-alpha stage. All releases from the 0.0.x series are to be considered experimental, and the API may change between them. We will make periodic releases when various milestones are reached. When the library grows further, processes will be established and semantic versioning will be used, starting at 1.0.0.

Getting started

Here is some quick boilerplate code for an app:

use fractk::prelude::*;
use fractk_macro::*;

app! {
    treeml! {
        <Window title="Hello world">
            <Column>
                <Label text="label 1"/>
                <Label text="label 2"/>
            </Column>
        </Window>
    }
}

Some example apps are available in the examples directory.

Commit count: 58

cargo fmt