Salome HOME
PN
authoreficas <>
Fri, 15 Apr 2005 09:45:42 +0000 (09:45 +0000)
committereficas <>
Fri, 15 Apr 2005 09:45:42 +0000 (09:45 +0000)
Editeur/options.py

index d2b270c129685b3dc55a5ae22da8df9eeeb749ef..b5988c3f7f56828dacaaa280ef768f5832273e8e 100644 (file)
@@ -34,6 +34,7 @@ class OPTIONS:
    menu_defs=[
         ('Options',[
                    ("Affichage commandes",(("alphabétique",'&affichage_alpha'),("groupes",'&affichage_grp'))),
+                   ("Couleur",(("fond",'change_fond'),("barre",'change_barre'))),
                    # ("Catalogue développeur",'choix_cata_developpeur'),
                    ]
         )
@@ -53,6 +54,15 @@ class OPTIONS:
       global affichage_commandes
       affichage_commandes="alphabetic"
 
+   def change_fond(self):
+      from tkColorChooser import askcolor
+      #nouvelle=askcolor(self.appli.background)
+      nouvelle=askcolor('grey')
+      print "yyyyyyyyyyyyyyyyyyyyy" 
+
+   def change_barre(self):
+      print "yyyyyyyyyyyyyyyyyyyyy" 
+
    def choix_cata_developpeur(self):
       """ 
           Cette méthode demande à l'utilisateur-développeur d'indiquer quel catalogue