File: pxlib.py

package info (click to toggle)
pyxine 0.1alpha2-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 856 kB
  • ctags: 2,017
  • sloc: ansic: 7,512; python: 2,224; cpp: 1,810; makefile: 162; sh: 40
file content (68 lines) | stat: -rw-r--r-- 1,887 bytes parent folder | download | duplicates (10)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This file was created automatically by SWIG.
import pxlibc
class PxDisplayPtr :
    def __init__(self,this):
        self.this = this
        self.thisown = 0
    def __del__(self):
        if self.thisown == 1 :
            pxlibc.delete_PxDisplay(self.this)
    def has_windows(self):
        val = pxlibc.PxDisplay_has_windows(self.this)
        return val
    def __repr__(self):
        return "<C PxDisplay instance>"
class PxDisplay(PxDisplayPtr):
    def __init__(self,arg0) :
        self.this = pxlibc.new_PxDisplay(arg0)
        self.thisown = 1




class PxWindowPtr :
    def __init__(self,this):
        self.this = this
        self.thisown = 0
    def __del__(self):
        if self.thisown == 1 :
            pxlibc.delete_PxWindow(self.this)
    def get_window_geometry(self):
        val = pxlibc.PxWindow_get_window_geometry(self.this)
        return val
    def get_xine_x11_visual(self):
        val = pxlibc.PxWindow_get_xine_x11_visual(self.this)
        return val
    def set_xine_stream(self,arg0):
        val = pxlibc.PxWindow_set_xine_stream(self.this,arg0)
        return val
    def get_verbosity(self):
        val = pxlibc.PxWindow_get_verbosity(self.this)
        return val
    def set_verbosity(self,arg0):
        val = pxlibc.PxWindow_set_verbosity(self.this,arg0)
        return val
    def get_pixel_aspect(self):
        val = pxlibc.PxWindow_get_pixel_aspect(self.this)
        return val
    def invalidate_cache(self):
        val = pxlibc.PxWindow_invalidate_cache(self.this)
        return val
    def __repr__(self):
        return "<C PxWindow instance>"
class PxWindow(PxWindowPtr):
    def __init__(self,arg0,arg1,arg2,arg3) :
        self.this = pxlibc.new_PxWindow(arg0.this,arg1,arg2,arg3)
        self.thisown = 1






#-------------- FUNCTION WRAPPERS ------------------



#-------------- VARIABLE WRAPPERS ------------------