GithubHelp home page GithubHelp logo

adw_template_app's Introduction

Pyhton Libadwaita & Gtk4 Template application

A template for building a libadwaita and Gtk4 application in python

  • A flexible app using
    • Adw.Application
    • Adw.ApplicationWindow
    • Adw.Leaflet
    • Adw.Stack and friends
  • ui is build using blueprint
  • use Gtk.Template to connect the ui with the python class
  • resources stored in GRessouce (.ui & style.css)
  • settings stored in GSettings (win dimentions is saved at close)
  • using meson to build/install
  • easy to transform into a new project check customize.md for details

build and run

run this script to build and run the application

./local.sh

flatpak build & run

Build as flatpak

flatpak-builder --force-clean .flatpak/repo build-aux/flatpak/org.mydomain.Example.yml

Run the flatpak

flatpak-builder --run .flatpak/repo build-aux/flatpak/org.mydomain.Example.yml

Requirements

  • gtk4-devel >= 4.5
  • libadwaita-devel >= 1.2
  • blueprint-compiler
  • python3-gobject
  • python3 >= 3.10
  • meson

Fedora 37

sudo dnf install gtk4-devel libadwaita-devel blueprint-compiler meson

adw_template_app's People

Stargazers

Barney avatar Yan Zhabin avatar Serhii Tsynailo avatar Shivam Shandilya avatar  avatar Lucas da Costa avatar Walter C avatar Tomás Vírseda avatar Linus Groh avatar Ali Galal avatar  avatar Alejandro avatar Tim Lauridsen avatar Valéry Febvre avatar Gerbrand van Dieyen avatar

Watchers

Tim Lauridsen avatar  avatar

Forkers

mbridak

adw_template_app's Issues

Gnome Bilder is an easier way

Hello everyone,

this issue reports no problems with this repo. I just want to recommend to use Gnome Builder as a starting point for an Python-LibAdwaita App, because it's easier and structured more like the official Gnome Apps.

But if you like this template and want to use it, just do that. It's not my goal to stop you from that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.