mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 19:30:11 +01:00
added terminal to tk window. Maybe.
This commit is contained in:
@@ -1,26 +1,29 @@
|
|||||||
import logging
|
import logging
|
||||||
|
import math
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
from Tkinter import *
|
from Tkinter import *
|
||||||
import time
|
|
||||||
import os
|
|
||||||
|
|
||||||
import math
|
|
||||||
|
|
||||||
import data_centre
|
|
||||||
import video_centre
|
import video_centre
|
||||||
|
import data_centre
|
||||||
|
|
||||||
VIDEO_DISPLAY_TEXT = 'NOW [{}] {} NEXT [{}] {}'
|
VIDEO_DISPLAY_TEXT = 'NOW [{}] {} NEXT [{}] {}'
|
||||||
VIDEO_DISPLAY_BANNER_LIST = ['[', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', ']']
|
VIDEO_DISPLAY_BANNER_LIST = [
|
||||||
|
'[', '-', '-', '-', '-', '-', '-', '-', '-', '-', '-', ']']
|
||||||
VIDEO_DISPLAY_BANNER_TEXT = '{} {} {}'
|
VIDEO_DISPLAY_BANNER_TEXT = '{} {} {}'
|
||||||
|
|
||||||
logger = data_centre.setup_logging()
|
logger = data_centre.setup_logging()
|
||||||
|
|
||||||
tk = Tk()
|
tk = Tk()
|
||||||
tk.withdraw()
|
# tk.withdraw()
|
||||||
canvas = Canvas(tk, width=500, height=400, bd=0, highlightthickness=0)
|
canvas = Canvas(tk, width=500, height=400, bd=0, highlightthickness=0)
|
||||||
canvas.pack()
|
canvas.pack()
|
||||||
|
|
||||||
|
wid = canvas.winfo_id()
|
||||||
|
os.system('xterm -into %d -geometry 40x20 -sb &' % wid)
|
||||||
|
|
||||||
data = data_centre.data()
|
data = data_centre.data()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user