minipix_uart_interface
A library and examples for the MiniPIX UART interface
decoder Namespace Reference

Functions

def loadImage (key)
 | ----------------------— methods ---------------------— | More...
 
def listBoxOnSelect (evt)
 callback for clicking on the listbox More...
 
def win_deleted ()
 

Variables

string file_path = "data/oneweb.txt"
 
 infile = open(file_path, "r", encoding="ascii")
 
 frame_data = parseStream(infile)
 
dictionary images_data = {}
 
list id_list = []
 
 root = tkinter.Tk()
 | ------------------------— gui -----------------------— | More...
 
 frame_main = tkinter.Frame(root);
 
 side
 
 TOP
 
 fill
 
 BOTH
 
 expand
 
 frame_left = tkinter.Frame(frame_main, bd=1);
 
 LEFT
 
 Y
 
 padx
 
 pady
 
 frame_right = tkinter.Frame(frame_main);
 
 RIGHT
 
 my_figure = Figure(facecolor='none', figsize=(8.2, 6.8), dpi=120)
 
 figure_canvas = FigureCanvasTkAgg(my_figure, master=frame_right)
 
 subplot1 = my_figure.add_subplot(221)
 
 subplot2 = my_figure.add_subplot(222)
 
 subplot3 = my_figure.add_subplot(223)
 
 scrollbar = tkinter.Scrollbar(master=frame_left, orient=tkinter.VERTICAL)
 
 listbox = tkinter.Listbox(master=frame_left, yscrollcommand=scrollbar.set, selectmode=tkinter.SINGLE)
 
 command
 

Function Documentation

◆ listBoxOnSelect()

def decoder.listBoxOnSelect (   evt)

callback for clicking on the listbox

Parameters
evt
Returns
nothing

◆ loadImage()

def decoder.loadImage (   key)

| ----------------------— methods ---------------------— |

show the image in the GUI

Parameters
keyimage ID (key in the image map)
Returns
nothing

◆ win_deleted()

def decoder.win_deleted ( )

Variable Documentation

◆ BOTH

decoder.BOTH

◆ command

decoder.command

◆ expand

decoder.expand

◆ figure_canvas

decoder.figure_canvas = FigureCanvasTkAgg(my_figure, master=frame_right)

◆ file_path

string decoder.file_path = "data/oneweb.txt"

◆ fill

decoder.fill

◆ frame_data

decoder.frame_data = parseStream(infile)

◆ frame_left

decoder.frame_left = tkinter.Frame(frame_main, bd=1);

◆ frame_main

decoder.frame_main = tkinter.Frame(root);

◆ frame_right

decoder.frame_right = tkinter.Frame(frame_main);

◆ id_list

list decoder.id_list = []

◆ images_data

dictionary decoder.images_data = {}

◆ infile

decoder.infile = open(file_path, "r", encoding="ascii")

◆ LEFT

decoder.LEFT

◆ listbox

decoder.listbox = tkinter.Listbox(master=frame_left, yscrollcommand=scrollbar.set, selectmode=tkinter.SINGLE)

◆ my_figure

decoder.my_figure = Figure(facecolor='none', figsize=(8.2, 6.8), dpi=120)

◆ padx

decoder.padx

◆ pady

decoder.pady

◆ RIGHT

decoder.RIGHT

◆ root

decoder.root = tkinter.Tk()

| ------------------------— gui -----------------------— |

◆ scrollbar

decoder.scrollbar = tkinter.Scrollbar(master=frame_left, orient=tkinter.VERTICAL)

◆ side

decoder.side

◆ subplot1

decoder.subplot1 = my_figure.add_subplot(221)

◆ subplot2

decoder.subplot2 = my_figure.add_subplot(222)

◆ subplot3

decoder.subplot3 = my_figure.add_subplot(223)

◆ TOP

decoder.TOP

◆ Y

decoder.Y