blob: 2d52247c843251a1e904539ed906a07652f3ec33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Box1.py
# Cristian García <cristian99garcia@gmail.com>
# Ignacio Rodríguez <nachoel01@gmail.com>
from gi.repository import Gtk
from Widgets import Marcadores
class Box1(Gtk.Box):
def __init__(self):
super(Box1, self).__init__(orientation=Gtk.Orientation.VERTICAL)
self.marcadores = Marcadores()
self.pack_start(self.marcadores, True, True, 0)
self.show_all()
if __name__ == "__main__":
Ventana = Gtk.Window()
Ventana.add(Box1())
Ventana.connect("delete-event", lambda x,i: exit())
Ventana.show_all()
Gtk.main()
|