# Modules Eficas
from widgets import askopenfilename
+import panels
# l'option affichage_commandes peut prendre les valeurs "groupes" ou "alphabetic"
affichage_commandes="alphabetic"
menu_defs=[
('Options',[
("Affichage commandes",(("alphabétique",'&affichage_alpha'),("groupes",'&affichage_grp'))),
- ("Couleur",(("fond",'change_fond'),("barre",'change_barre'))),
+ #("Couleur",(("fond",'change_fond'),("barre",'change_barre'))),
# ("Catalogue développeur",'choix_cata_developpeur'),
]
)
def affichage_grp(self):
global affichage_commandes
affichage_commandes="groupes"
+ if hasattr(panels,'panneauCommande'):
+ panel=panels.panneauCommande
+ parent=panel.parent
+ if parent != None :
+ parent.create_panel(parent.node_selected)
+ parent.panel_courant.nb.selectpage("Commande")
def affichage_alpha(self):
global affichage_commandes
affichage_commandes="alphabetic"
+ if hasattr(panels,'panneauCommande'):
+ panel=panels.panneauCommande
+ parent=panel.parent
+ if parent != None :
+ parent.create_panel(parent.node_selected)
+ parent.panel_courant.nb.selectpage("Commande")
def change_fond(self):
from tkColorChooser import askcolor
#nouvelle=askcolor(self.appli.background)
nouvelle=askcolor('grey')
- print "yyyyyyyyyyyyyyyyyyyyy"
def change_barre(self):
- print "yyyyyyyyyyyyyyyyyyyyy"
+ pass
def choix_cata_developpeur(self):
"""