Experimenting with Go GTK+
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
Noah Petherbridge fb0a73bbfa README update il y a 11 mois
ui More Pinephone tweaks il y a 1 an
README.md README update il y a 11 mois
main.go Initial commit il y a 1 an
main.py More Pinephone tweaks il y a 1 an
requirements.txt Python version il y a 1 an
screenshot.png Python version il y a 1 an

README.md

glade-test

Some experimentation with GTK+ 3.0 / Glade GUIs in Go and Python, particularly for a mobile app UI with multiple screens.

Screenshot

Some features exercised:

  • A single-window app with multiple screens ("About" button slides to the About screen, Menu->Home button transitions back to main screen, etc.)
  • Dynamically added buttons to a Gtk.Box defined in the Glade file. The buttons click into a "Detail" screen updated with the label of the button clicked.
  • Menu->Open builds a dynamic Open File dialog.
  • Menu->New shows a custom New File dialog defined in the Glade file.

Python Setup

# Install dependencies (Fedora)
sudo dnf install python3-devel kernel-headers glibc-devel gobject-introspection-devel

# Install dependencies (Alpine Linux/postmarketOS)
sudo apk add python3-dev linux-headers musl-dev gobject-introspection-dev

# Python dependencies
pip install -r requirements.txt

# Run it
python main.py