Now the gui starts up

This commit is contained in:
José Carlos Cuevas 2020-09-19 12:02:00 +02:00
parent 6718fb687a
commit bb6aa43ce9
3 changed files with 56 additions and 6 deletions

9
gui.py
View file

@ -1,11 +1,14 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from gi.repository import Gtk, Gio
# Python imports
import os.path
import sys
# Gtk and Gobject
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gio
# Internationalization support
import gettext
import locale

View file

@ -6,6 +6,8 @@ feedparser==5.2.1
idna==2.10
importlib-metadata==1.7.0
Pillow==7.2.0
pycairo==1.19.1
PyGObject==3.38.0
pyserial==3.4
python-escpos==2.2.0
pyusb==1.0.2

View file

@ -176,7 +176,20 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<placeholder/>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
<child type="tab">
<object class="GtkLabel">
@ -189,7 +202,23 @@
</packing>
</child>
<child>
<placeholder/>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child type="tab">
<object class="GtkLabel">
@ -203,7 +232,23 @@
</packing>
</child>
<child>
<placeholder/>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child type="tab">
<object class="GtkLabel">