示例#1
0
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
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
 def resetgui(self,dname):
     self.gui = GamerUI(title = "GAMer")
     self.gui.setup()
     self.gui.display()
示例#4
0
 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()