def __init__(self, pCamps, gjlib): AppBase.__init__(self, gjlib, root="frm_cercador") self.camps = pCamps self.res = {} fila = 0 self.taula = self.get_widget("taula") self.taula.resize(len(self.camps.obte_camps_cerca()), 2) for x in self.camps.obte_camps_cerca(): etiqueta = gtk.Label(self.camps.obte_etiqueta(x)) etiqueta.show() self.taula.attach(etiqueta, 0, 1, fila, fila + 1) entrada = gtk.Entry() entrada.set_name(x) entrada.show() self.taula.attach(entrada, 1, 2, fila, fila + 1) fila += 1
def __init__( self, gjlib ): AppBase.__init__(self, gjlib, root="frmmecanic")
def __init__(self, gjlib): AppBase.__init__(self, gjlib, root="dlgError")
def __init__(self, gjlib): AppBase.__init__(self, gjlib, root="frm_dl_esborra") self.esborra = False
def __init__(self, gjlib): AppBase.__init__(self, gjlib, root="frmmarca")
def __init__( self, gjlib): AppBase.__init__(self, gjlib, root="frmgesjo")