Simple Python 3 threaded timer in Gtk3.

A quick and dirty timer example. If you need to execute after a period of time use Thread.Timer(). This example uses simple thread and event to start and stop a clock in a Gtk 3 window counting up time in a label. #!/usr/bin/python3 import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk,Pango,GObject import threading import datetime […]

Timers, Status and Code, Oh my!

Before I deleted my site I had posted some simple programs that fire a timer in order to count down the days to an event. I wrote this in both XCode and IronPython which can be downloaded with full source below. I also started writing this in VB.Net, but decided it’s so similar to the […]