Our great sponsors
-
develop
Discontinued A simple tool to help elementary OS developers to develop their own apps and widgets.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
First of all you need a gresources file, there you need to specify a prefix, and the path to the resource. Add it to the meson file too here and the folder resources in the root meson file
PS: To start a project i recomend you Develop, it creates for you an initial project to start coding, i use it for every app
You can use the class Builder, and then link that element with the code like this. This has a problem, too many code lines if you have a lot of elements.