Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.67 KB

Readme.md

File metadata and controls

51 lines (38 loc) · 1.67 KB

libadwaita Python Demo

This is a simple demo of using misc. libadwaita widgets from python

Here is the official libadwaita docs. https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/

Version

  • Version 0.1.0 - The ui is build direct in python : ver_0.1.0
  • Version 0.2.0 - The ui is build using an .ui file and Gtk.Template

Build & Run

Run the following to build, install & run the application on your system

./local.sh

Flatpak

Enable the gnome-nightly flatpak repository

flatpak remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo

Install needed flatpak Platform & SDK

flatpak install gnome-nightly org.gnome.Platform//master org.gnome.Sdk//master

Build flatpak

flatpak-builder --force-clean .flatpak/repo dk.rasmil.AdwPyDemo.yml

Run the flatpak

flatpak-builder --run .flatpak/repo dk.rasmil.AdwPyDemo.yml adwpydemo

Install to local system & Run it

flatpak-builder --user --install --force-clean .flatpak/repo dk.rasmil.AdwPyDemo.yml
flatpak run dk.rasmil.AdwPyDemo

Screenshots

Screenshot from 2021-10-25 14-01-16 Screenshot from 2021-10-25 14-01-24 Screenshot from 2021-10-25 14-01-35