Overview ======== .. warning:: .. container:: experimental-admonition .. image:: experimental.svg **Blueprint is still experimental.** Future versions may have breaking changes, and most GTK tutorials use XML syntax. Blueprint is a markup language and compiler for GTK 4 user interfaces. .. toctree:: :maxdepth: 1 :caption: Contents: setup translations flatpak reference/index packaging .. code-block:: blueprint using Gtk 4.0; template MyAppWindow : ApplicationWindow { default-width: 600; default-height: 300; title: _("Hello, Blueprint!"); [titlebar] HeaderBar {} Label { label: bind MyAppWindow.main_text; } } Blueprint helps you build user interfaces in GTK quickly and declaratively. It has modern IDE features like code completion and hover documentation, and the compiler points out mistakes early on so you can focus on making your app look amazing. Features -------- - **Easy setup.** A porting tool is available to help port your projects from XML. The compiler's only dependency is Python, and it can be included as a meson subproject. :doc:`See the Setup page for more information. ` - **Concise syntax.** No more clumsy XML! Blueprint is designed from the ground up to match GTK's widget model, including templates, child types, signal handlers, and menus. - **Easy to learn.** The syntax should be very familiar to most people. Take a look at the :doc:`reference ` to get started. - **Modern tooling.** Blueprint ships a `Language Server `_ for IDE integration. Links ----- - `Source code `_ - `Workbench `_ lets you try, preview and export Blueprint - `GNOME Builder `_ provides builtin support - `Vim syntax highlighting plugin by thetek42 `_ - `Vim syntax highlighting plugin by gabmus `_ - `GNU Emacs major mode by DrBluefall `_ - `Visual Studio Code plugin by bodil `_ History ------- 1. `Simplify our UI declarative language, a strawman proposal `_ 2. `A Markup Language for GTK `_ 3. `Introducing Blueprint: A New Way to Craft User Interfaces `_ 4. `Next Steps for Blueprint `_ Built with Blueprint -------------------- - `AdwSteamGtk `_ - `Blurble `_ - `Bottles `_ - `Cartridges `_ - `Cavalier `_ - `Chance `_ - `Commit `_ - `Confy `_ - `Daikhan `_ - `Damask `_ - `Denaro `_ - `Design `_ - `Dev Toolbox `_ - `Dialect `_ - `Diccionario de la Lengua `_ - `Doggo `_ - `Dosage `_ - `Dynamic Wallpaper `_ - `Extension Manager `_ - `Eyedropper `_ - `favagtk `_ - `Feeds `_ - `File Shredder `_ - `Flare `_ - `Flowtime `_ - `Fretboard `_ - `Frog `_ - `Geopard `_ - `Giara `_ - `Girens `_ - `Gradience `_ - `Graphs `_ - `Health `_ - `HydraPaper `_ - `Identity `_ - `Jogger `_ - `Junction `_ - `Komiku `_ - `Letterpress `_ - `Login Manager Settings `_ - `Maniatic Launcher `_ - `Master Key `_ - `Misson Center `_ - `NewCaw `_ - `Paper `_ - `Paper Plane `_ - `Parabolic `_ - `Passes `_ - `Pipeline `_ - `Playhouse `_ - `Plitki `_ - `Raider `_ - `Retro `_ - `Solanum `_ - `Sudoku Solver `_ - `Swatch `_ - `Switcheroo `_ - `Tagger `_ - `Tangram `_ - `Text Pieces `_ - `Upscaler `_ - `Video Trimmer `_ - `Webfont Kit Generator `_ - `WhatIP `_ - `Who Wants To Be a Millionaire `_ - `Workbench `_