Browse Source

Added more links to video tutorials

master
Johannes Findeisen 6 months ago
parent
commit
43fbe82def
2 changed files with 40 additions and 1 deletions
  1. +36
    -0
      docs/LINKS.md
  2. +4
    -1
      fritztray.py

+ 36
- 0
docs/LINKS.md View File

@@ -14,3 +14,39 @@ All GUI stuff will be written in Python using the GTK+ GUI toolkit. Some Links w

- https://python-gtk-3-tutorial.readthedocs.io/en/latest/builder.html - Glade and Gtk.Builder
- https://gnipsel.com/glade/index.html - Glade3 Gtk Python Tutorial

## Video Tutorials

- https://www.youtube.com/watch?v=_q7EUy1TJWs - Python3 GTK Glade tutorial first step
- https://www.youtube.com/watch?v=Ko0NTS0IpfI - Build GUI Apps with Python and GTK
- https://www.youtube.com/watch?v=9zDYCFWTbSw - Build GUIs with Python and Glade
- https://www.youtube.com/watch?v=g-KDOH_uqPk - Linux Gtk Glade Programming Part 1
- https://www.youtube.com/watch?v=-uIz6WJ8I7g - Linux Gtk Glade Programming Part 2 - Adding an Icon to a Button
- https://www.youtube.com/watch?v=FGGB8wKE6MY - Linux Gtk Glade Programming Part 3 - Adding Radio Buttons
- https://www.youtube.com/watch?v=aUhBBYhzwT8 - Linux Gtk Glade Programming Part 4 - Adding Check Boxes
- https://www.youtube.com/watch?v=FIJhQhgPAzk - Linux Gtk Glade Programming Part 5 - Adding Toggle and Spin Buttons
- https://www.youtube.com/watch?v=Q96_bXrlulo - Linux Gtk Glade Programming Part 6 - Adding a Switch Button
- https://www.youtube.com/watch?v=aJAh4m7C2bM - Linux Gtk Glade Programming Part 7 - Adding a Combo Box
- https://www.youtube.com/watch?v=ykIed8Pp0CU - Linux Gtk Glade Programming Part 8 - Adding Color and File Choosers
- https://www.youtube.com/watch?v=0x8aYy7Y21U - Linux Gtk Glade Programming Part 9 - Adding Font Chooser, Volume Control, and Scroll Bar
- https://www.youtube.com/watch?v=MaifkfUI3Ns - Linux Gtk Glade Programming Part 10 - Adding a Paged Stack and Switcher
- https://www.youtube.com/watch?v=RdlKFAoIDgo - Linux Gtk Glade Programming Part 11 - Adding Frames and Changing Background Color
- https://www.youtube.com/watch?v=yGHTh_tzOAY - Linux Gtk Glade Programming Part 12 - Color Frame Backgrounds.
- https://www.youtube.com/watch?v=BoDJboXz_v4 - Linux Gtk Glade Programming Part 13 - Text Entry (GtkEntry)
- https://www.youtube.com/watch?v=Ic8ZXhvkXXc - Linux Gtk Glade Programming Part 14 - Images
- https://www.youtube.com/watch?v=SlOpmRqiNl4 - Linux Gtk Glade Programming Part 15 - Dynamic loading of Images
- https://www.youtube.com/watch?v=CqGqb4fJalY - Linux Gtk Glade Programming Part 16 - Dynamic Resizing of Images
- https://www.youtube.com/watch?v=5Pk5Tyh7jOE - Linux Gtk Glade Programming Part 17 - Adding an Asynchronous Timer
- https://www.youtube.com/watch?v=mzyjgviYDeU - Linux Gtk Glade Programming Part 18 - Adding a Menu Bar
- https://www.youtube.com/watch?v=o4T4dBkRKCc - Linux Gtk Glade Programming Part 19 - Adding a Progress Bar
- https://www.youtube.com/watch?v=PGDiO4UuB9Q - Linux Gtk Glade Programming Part 20 - Capturing a Right Click
- https://www.youtube.com/watch?v=uOOCV8qamv8 - Linux Gtk Glade Programming Part 21 - Capturing Scroll Wheel Events
- https://www.youtube.com/watch?v=SgmbsBmnCRI - Linux Gtk Glade Programming Part 22 - GUI Sockets
- https://www.youtube.com/watch?v=oxXAb8IikHM - Python Tutorial deutsch [1/24] - Dein erstes Programm
- https://www.youtube.com/watch?v=MLgZ6ngBZF4 - Python GUI: [Gtk 3 + Glade] - Core Concepts and Hello World!
- https://www.youtube.com/watch?v=-FhO5sTbEis - Python GUI: [Gtk 3 + Glade] - GtkPopover, GtkLabel, and Threading
- https://www.youtube.com/watch?v=AUl697KsGsE - Python GUI: [Gtk 3 + Glade] - Containers and GtkEntry Field
- https://www.youtube.com/watch?v=RgTe8Exlujw - Python GUI: [Gtk 3 + Glade] - GtkDrawingArea 1 - Setup
- https://www.youtube.com/watch?v=fEVmSBOryZ4 - Python GUI: [Gtk 3 + Glade] - GtkTreeView 1
- https://www.youtube.com/watch?v=_9amFQEVuIo - Build GUI Programs with Python & Glade - John Newman: OKC Python
- https://www.youtube.com/watch?v=OC0kETEJ2bw - Building GUI applications with Python, GTK and Glade

+ 4
- 1
fritztray.py View File

@@ -34,11 +34,14 @@ import xmltodict
from pathlib import Path
from threading import Thread

try:
from fritzconnection.fritzconnection.lib.fritzstatus import FritzStatus
except ImportError:
from fritzconnection.lib.fritzstatus import FritzStatus

APP_VERSION = '0.0.1'
APPINDICATOR_ID = 'fritztray'


def get_state_icon(state):
"""
Look up the state msg and return the icon name.

Loading…
Cancel
Save