コード例 #1
0
ファイル: mesh_gamer_addon.py プロジェクト: mcellteam/gamer
class gamer_plugin(plugTypeClass):
    def setgui(self,dname):
        self.gui = GamerUI(title = "GAMer")
        self.gui.setup()
        self.hasGui = True
        self.gui.display()
        
    def resetgui(self,dname):
        self.gui = GamerUI(title = "GAMer")
        self.gui.setup()
        self.gui.display()
コード例 #2
0
ファイル: mesh_gamer_addon.py プロジェクト: shugraphics/gamer
class gamer_plugin(plugTypeClass):
    def setgui(self, dname):
        self.gui = GamerUI(title="GAMer")
        self.gui.setup()
        self.hasGui = True
        self.gui.display()

    def resetgui(self, dname):
        self.gui = GamerUI(title="GAMer")
        self.gui.setup()
        self.gui.display()
コード例 #3
0
ファイル: mesh_gamer_addon.py プロジェクト: mcellteam/gamer
 def resetgui(self,dname):
     self.gui = GamerUI(title = "GAMer")
     self.gui.setup()
     self.gui.display()
コード例 #4
0
ファイル: mesh_gamer_addon.py プロジェクト: shugraphics/gamer
 def resetgui(self, dname):
     self.gui = GamerUI(title="GAMer")
     self.gui.setup()
     self.gui.display()
コード例 #5
0
#
#
# Getting pyubic:
#
#
#
# This plugin is protected by the GPL: Gnu Public Licence
# GPL - http://www.gnu.org/copyleft/gpl.html
# Script Copyright (C) Johan Hake <*****@*****.**>
#                      Ludovic Autin <*****@*****.**>

# Import upy and set the UI Baseclass
import upy
upy.setUIClass()

# Importing gamer gui
from gamer.upy_gui import GamerUI

if upy.uiadaptor.host == "tk":
    from DejaVu import Viewer
    vi = Viewer()

    # Require a master
    gamergui = GamerUI(master=vi, title="GAMer")
else:
    gamergui = GamerUI(title="GAMer")

# Call it
gamergui.setup()
gamergui.display()
コード例 #6
0
# Getting pyubic:
#
#
#
# This plugin is protected by the GPL: Gnu Public Licence
# GPL - http://www.gnu.org/copyleft/gpl.html
# Script Copyright (C) Johan Hake <*****@*****.**>
#                      Ludovic Autin <*****@*****.**>

# Import upy and set the UI Baseclass
import upy

upy.setUIClass()

# Importing gamer gui
from gamer.upy_gui import GamerUI

if upy.uiadaptor.host == "tk":
    from DejaVu import Viewer

    vi = Viewer()

    # Require a master
    gamergui = GamerUI(master=vi, title="GAMer")
else:
    gamergui = GamerUI(title="GAMer")

# Call it
gamergui.setup()
gamergui.display()