class AblatorManyValueButton (gtk.Button):

    def __init__(self, pocetpolicek, solution = None, name = ""):        
        gtk.Button.__init__(self, "nastav")
        self.c_name = name
        self.solution = solution
        self.pocetpolicek = pocetpolicek
        self.connect("clicked", self.otevri_okno_clicked)        

    def otevri_okno_clicked (self, widget):
        self.okno = AblatorManyValueEntry(self.pocetpolicek, self.solution, self.c_name)
        self.okno.show_all()
 def otevri_okno_clicked (self, widget):
     self.okno = AblatorManyValueEntry(self.pocetpolicek, self.solution, self.c_name)
     self.okno.show_all()