#Links for Tutorials and examples...
Python Basics:
https://python.swaroopch.com/basics.html
Tkinter Links:
https://wiki.python.org/moin/Intro%20to%20programming%20with%20Python%20and%20Tkinter
https://docs.python.org/2/library/tkinter.html
Python-evdev/uinput links:
https://python-evdev.readthedocs.io/en/latest/tutorial.html
http://suanfazu.com/t/simulate-mouse-clicks-on-python/10334/3
https://www.kernel.org/doc/Documentation/input/event-codes.txt
https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt
PyMouse:
https://github.com/tuomasjjrasanen/python-uinput/blob/master/examples/mouse.py
Python-UInput:
https://pypi.python.org/pypi/python-uinput
http://tjjr.fi/sw/python-uinput/
https://github.com/tuomasjjrasanen/python-uinput
Zyell Script for Long Press TouchScreen Right Click: https://github.com/Zyell/Python-Touchscreen-RightClick
Python GTK (pygtk) Tutorial and Examples:
http://zetcode.com/gui/pygtk/
http://zetcode.com/gui/pygtk/menus/
http://www.pygtk.org/pygtk2tutorial/index.html
RSS Plugin : https://git.xfce.org/panel-plugins/xfce4-rss-plugin/tree/
Python GTK3 :
https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html
Simple Tray icon with Python GTK3: https://gist.github.com/pklaus/304963
gtk status icon tutorial: http://www.pygtk.org/docs/pygtk/class-gtkstatusicon.html
PS: GTK3 works even with Python 2
Python Scripts for Auto Rotate Screen
https://github.com/kkrizka/autorotate
It also includes an indicator built with GTK.