예제 #1
0
    def __init__(self):

        gobject.GObject.__init__(self)

        self.interfaz = JAMedia()

        self.interfaz.connect("realize", self.__interfaz_realized)
        self.interfaz.connect("delete-event", self.__salir)
        self.interfaz.connect("destroy", self.__salir)
        print "JAMedia process:", os.getpid()
예제 #2
0
    def __init__(self):

        gobject.GObject.__init__(self)

        self.interfaz = JAMedia()

        self.interfaz.connect("realize", self.__interfaz_realized)
        self.interfaz.connect("delete-event", self.__salir)
        self.interfaz.connect("destroy", self.__salir)
        print "JAMedia process:", os.getpid()
예제 #3
0
class Aplicacion(gobject.GObject):
    def __init__(self):

        gobject.GObject.__init__(self)

        self.interfaz = JAMedia()

        self.interfaz.connect("realize", self.__interfaz_realized)
        self.interfaz.connect("delete-event", self.__salir)
        self.interfaz.connect("destroy", self.__salir)
        print "JAMedia process:", os.getpid()

    def __interfaz_realized(self, interfaz):
        print self.__interfaz_realized, interfaz

    def __salir(self, widget=None, senial=None):
        self.interfaz.stop()
        gtk.main_quit()
예제 #4
0
class Aplicacion(gobject.GObject):

    def __init__(self):

        gobject.GObject.__init__(self)

        self.interfaz = JAMedia()

        self.interfaz.connect("realize", self.__interfaz_realized)
        self.interfaz.connect("delete-event", self.__salir)
        self.interfaz.connect("destroy", self.__salir)
        print "JAMedia process:", os.getpid()

    def __interfaz_realized(self, interfaz):
        print self.__interfaz_realized, interfaz

    def __salir(self, widget=None, senial=None):
        self.interfaz.stop()
        gtk.main_quit()