Get a basic app running, built, and ready for distribution with our Getting Started guide
Learn about the design principles that make up apps on elementary OS.
Get more info about code style, reporting issues, and proposing design changes
Familiar to anyone who's seen C#, but maintains API/ABI compatibility with C
Low memory requirements, native execution, and purpose-built for GObject
Signals, properties, generics, lambdas, assisted memory management, exception handling, type inference, async/yield & more
public class MyApp : Gtk.Application {
public MyApp () {
Object (
application_id: "com.github.myteam.myapp",
flags: ApplicationFlags.FLAGS_NONE
);
}
protected override void activate () {
var window = new Gtk.ApplicationWindow (this) {
default_height = 768,
default_width = 1024,
title = "MyApp"
};
window.show_all ();
}
public static int main (string[] args) {
return new MyApp ().run (args);
}
}
Build and release your apps for the latest version of elementary OS. Hera brings new APIs, improved notifications, a new location agent, new Granite CSS constants, new icons, and tons more. Build feature-full apps easier than ever with Gtk 3.22 & Vala 0.40.
Read the release notes