Experimenting with Go GTK+
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Noah Petherbridge aa7207e145 More Pinephone tweaks 11 months ago
ui More Pinephone tweaks 11 months ago
README.md Python version 11 months ago
main.go Initial commit 11 months ago
main.py More Pinephone tweaks 11 months ago
requirements.txt Python version 11 months ago
screenshot.png Python version 11 months ago

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 gobject-introspection-devel

# Python dependencies
pip install -r requirements.txt

# Run it
python main.py