#
__version__="$Name: $"
-__Id__="$Id: componuplet.py,v 1.4 2003/10/16 14:31:22 eficas Exp $"
+__Id__="$Id: componuplet.py,v 1.8 2005/11/03 09:03:48 eficas Exp $"
#
myrepr = Repr()
self.nb.pack(fill = 'both', expand = 1)
self.nb.add("Valeurs",tab_text="Saisir valeurs")
self.makeValeurPage(self.nb.page('Valeurs'))
+ self.enlevebind()
+ self.creebind()
self.nb.setnaturalsize()
def makeValeurPage(self,page):
entry.pack(side=Tkinter.LEFT,padx=1)
entry.bind("<Return>",
lambda e,obj=obj,s=self:s.valid_valeur(e,obj=obj))
+ entry.bind("<KP_Enter>",
+ lambda e,obj=obj,s=self:s.valid_valeur(e,obj=obj))
if i==0:entry.focus_set()
#aide = Tkinter.Label(frame_valeur, text = aide)
#aide.place(relx=0.5,rely=0.55,anchor='n')
#obj.set_valeur(val,evaluation='non')
obj.set_valeur(val)
self.parent.appli.affiche_infos(mess)
- self.node.parent.verif()
- self.node.update()
+ #self.node.parent.verif()
+ #self.node.update()
def valid_valeur(self,e,obj=None,mess='Valeur du mot-cl\351 enregistr\351e'):
"""
e.widget.delete(0,Tkinter.END)
e.widget.insert(0,anc_val)
- self.node.parent.verif()
- self.node.update()
+ #self.node.parent.verif()
+ #self.node.update()
def gen_aide(self,obj):
return ""
def suppitem(self,item) :
raise "NUPLET"
- def verif_condition_bloc(self):
- return self.object.verif_condition_bloc()
-
import Accas
treeitem=NUPLETTreeItem
objet=Accas.MCNUPLET