#makepad #counter #ui #framework #applications #basic #concepts

bin+lib makepad-example-simple

Makepad simple example

1 unstable release

0.5.0 Sep 20, 2023

#1085 in GUI

24 downloads per month

MIT/Apache

12KB
76 lines

makepad-example-simple

A very simple example of a Makepad Framework application, used to illustrate the basic concepts of Makepad Framework. For an explanation of what Makepad Framework is, please see the README for the makepad-widgets crate.

The example consists of a chromeless window containing both a button and a label displaying a counter. Clicking the buttnon will increment the counter. It illustrates the basics of initializing an application, handling events, drawing the UI, and working with the DSL.

The code for this example is fairly well commented, so it should be a good starting point for playing around with Makepad Framework.

Contact

If you have any questions/suggestions, feel free to reach out to us on our discord channel: https://discord.com/invite/urEMqtMcSd=

Dependencies

~15–21MB
~160K SLoC