Cat
Public Member Functions | Public Attributes | List of all members
gui.Gui Class Reference
Inheritance diagram for gui.Gui:

Public Member Functions

def OnInit (self, app=None)
 
def Start (self)
 
def ShowMain (self)
 
def ShowTips (self)
 

Public Attributes

 appFrame
 

Detailed Description

Definition at line 69 of file gui.py.

Member Function Documentation

◆ OnInit()

def gui.Gui.OnInit (   self,
  app = None 
)
Create and show the splash screen.
It will then create and show the main frame when it is time to do so.

Definition at line 70 of file gui.py.

70  def OnInit(self, app=None):
71  """
72  Create and show the splash screen.
73  It will then create and show the main frame when it is time to do so.
74  """
75  self.appFrame=AppFrame(cat, None, "CAT Application")
76  self.SetTopWindow(self.appFrame)
77  return True

◆ ShowMain()

def gui.Gui.ShowMain (   self)

Definition at line 86 of file gui.py.

References gui.Gui.appFrame.

Referenced by gui.Gui.Start().

86  def ShowMain(self):
87  self.appFrame.Show()

◆ ShowTips()

def gui.Gui.ShowTips (   self)

Definition at line 88 of file gui.py.

References gui.Gui.appFrame.

88  def ShowTips(self):
89  wx.CallAfter(self.appFrame.ShowTip)
90 
91 #---------------------------------------------------------------------------
92 # main

◆ Start()

def gui.Gui.Start (   self)

Definition at line 78 of file gui.py.

References gui.Gui.ShowMain().

78  def Start(self):
79  if args.banner:
80  splash = SplashScreen(os.path.join(os.environ.get("CATPYTHONROOT"),
81  "python/images/cat.bmp"))
82  splash.Show()
83  else:
84  self.ShowMain()
85  #ShowTip()

Member Data Documentation

◆ appFrame

gui.Gui.appFrame

Definition at line 75 of file gui.py.

Referenced by gui.Gui.ShowMain(), and gui.Gui.ShowTips().


The documentation for this class was generated from the following file: