File: tegclient.py

package info (click to toggle)
teg 0.11.2%2Bdebian-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,340 kB
  • sloc: ansic: 17,600; sh: 8,546; python: 1,442; xml: 1,310; makefile: 357
file content (36 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## $Id: tegclient.py,v 1.6 2003/09/14 04:31:39 riq Exp $
##
## Tenes Empanadas Graciela
##
## Copyright (C) 2000,2003 Ricardo Quesada
##
## Author: Ricardo Calixto Quesada <riq@coresecurity.com>


# python modules
import pygame

# teg modules
import gui
from gui import twidget_manager
from gui import ttest
import theme

class TegClient( object ):
    def __init__( self ):

        pygame.init()

        theme.Theme()

        surface = pygame.display.set_mode( (800,600) )
        gui.twidget_manager.TWidgetManager.sdl_surface = surface


    def run( self ):
        gui.ttest.TTest().run()


if  __name__ == '__main__':
    aTeg = TegClient()
    aTeg.run()