added header
This commit is contained in:
parent
c1b729cf52
commit
da3215ec5e
@ -5,7 +5,7 @@ import time
|
||||
gi.require_version('Gtk', '4.0')
|
||||
from gi.repository import Gtk, Gio, Gdk
|
||||
|
||||
index = 1
|
||||
index = 2
|
||||
TIME = 10*60
|
||||
|
||||
class GridRow():
|
||||
@ -69,11 +69,18 @@ class GridWindow(Gtk.ApplicationWindow):
|
||||
button1.connect("clicked", self.arb)
|
||||
button2.connect("clicked", self.rrb)
|
||||
|
||||
runlabel = Gtk.Label(label="ID", name="gridlabel")
|
||||
runlabel.set_justify(2)
|
||||
cntlabel = Gtk.Label(label="Countdown", name="gridlabel")
|
||||
cntlabel.set_justify(2)
|
||||
|
||||
self.runners = []
|
||||
|
||||
self.grid = Gtk.Grid()
|
||||
self.grid.attach(button1, 0, 0, 1, 1)
|
||||
self.grid.attach(button2, 1, 0, 2, 1)
|
||||
self.grid.attach(runlabel, 0, 1, 1, 1)
|
||||
self.grid.attach(cntlabel, 1, 1, 2, 1)
|
||||
|
||||
self.set_child(self.grid)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user