i'm making an application and i would like to put the date and time on my lable...
i made my application with glade and than trying to programe it with GTK
this is where i got sofar
"
_import datetime
import gi
gi.requireversion('Gtk', '3.0')
from gi.repository import Gtk as gtk
i'm making an application and i would like to put the date and time on my lable... i made my application with glade and than trying to programe it with GTK
this is where i got sofar
" _import datetime import gi
gi.requireversion('Gtk', '3.0') from gi.repository import Gtk as gtk
class Main: def init(self): gladeFile = "main.glade" self.builder = gtk.Builder() self.builder.add_from_file(gladeFile) self.builder.connect_signals(self)
if name == 'main': main = Main() gtk.main() " ps. sorry if i am at the wrong place for asking