[Bio] / PyGUI / FontManager.py Repository:
ViewVC logotype

View of /PyGUI/FontManager.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (download) (as text) (annotate)
Fri Mar 5 19:30:38 2004 UTC (15 years, 8 months ago) by hwang
Branch: MAIN
CVS Tags: V00-00-03, V00-00-02, MigrateToNewPackage, mass-spec-01, forRick-14Jul04-0, mass-spec-03, mass-spec-02, forRick-14Jul04-1, forKubal-15Jun04, larrys-08jul04, HEAD
Changes since 1.3: +1 -1 lines
	Catalogpanel.py
		Got rid of the "Load to Navigator" button
	FontManager.py
		fixed variable consistancy
	MainLayout.py
		Added combobox label and got rid of "Load to Navigator" button

from wxPython.wx import *
from PyGUI.MainLayout import MainLayout

class FontManager:

    #------------------------------------------------------------------------
    def __init__(self, parent):
    #------------------------------------------------------------------------
        self.parent   = parent
       
        return

   
    #------------------------------------------------------------------------
    def updateFont(self, newFont):
    #------------------------------------------------------------------------
        
    
        
        print "*"
        print newFont.GetPointSize()
        print "*"

        #catalog 
        self.parent.catalog_tree.Refresh()
        self.parent.catalog_tree.SetFont(newFont)
        self.parent.catalog_tree.Layout()
        #self.parent.catalog_tree.Fit()
        #self.parent.CatWindow.GetAdjustedBestSize()
        

        #metabolite 
        self.parent.shortLabel.SetFont(newFont)
        #self.parent.enzymesDataSourceLabel(newFont)
        
        self.parent.metTopLeft.Layout()
    
        return

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3