Skip to content

DisplayableViewer

Bases: Tk

A tkinter widget to display Displayable objects.

DisplayableViewer

DisplayableViewer(data: Mapping, title: str = 'LoQS Object Viewer')

Parameters:

Name Type Description Default
data Mapping

The output of a encode() call.

required
title str

String for logging

'LoQS Object Viewer'

Attributes

Name Type Value Doc
anchor
(inherited)
grid_anchor
aspect
(inherited)
wm_aspect
attributes
(inherited)
wm_attributes
bbox
(inherited)
grid_bbox
client
(inherited)
wm_client
colormapwindows
(inherited)
wm_colormapwindows
columnconfigure
(inherited)
grid_columnconfigure
command
(inherited)
wm_command
config
(inherited)
configure
deiconify
(inherited)
wm_deiconify
focus
(inherited)
focus_set
focusmodel
(inherited)
wm_focusmodel
forget
(inherited)
wm_forget
frame
(inherited)
wm_frame
geometry
(inherited)
wm_geometry
grid
(inherited)
wm_grid
group
(inherited)
wm_group
iconbitmap
(inherited)
wm_iconbitmap
iconify
(inherited)
wm_iconify
iconmask
(inherited)
wm_iconmask
iconname
(inherited)
wm_iconname
iconphoto
(inherited)
wm_iconphoto
iconposition
(inherited)
wm_iconposition
iconwindow
(inherited)
wm_iconwindow
lift
(inherited)
tkraise
manage
(inherited)
wm_manage
maxsize
(inherited)
wm_maxsize
minsize
(inherited)
wm_minsize
overrideredirect
(inherited)
wm_overrideredirect
positionfrom
(inherited)
wm_positionfrom
propagate
(inherited)
pack_propagate
protocol
(inherited)
wm_protocol
register
(inherited)
_register
resizable
(inherited)
wm_resizable
rowconfigure
(inherited)
grid_rowconfigure
size
(inherited)
grid_size
sizefrom
(inherited)
wm_sizefrom
slaves
(inherited)
pack_slaves
state
(inherited)
wm_state
title
(inherited)
wm_title
transient
(inherited)
wm_transient
waitvar
(inherited)
wait_variable
withdraw
(inherited)
wm_withdraw

after

Inherited method from Misc.


after_cancel

Inherited method from Misc.


after_idle

Inherited method from Misc.


anchor

Inherited method from Misc.


aspect

Inherited method from Wm.


attributes

Inherited method from Wm.


bbox

Inherited method from Misc.


bell

Inherited method from Misc.


bind

Inherited method from Misc.


bind_all

Inherited method from Misc.


bind_class

Inherited method from Misc.


bindtags

Inherited method from Misc.


cget

Inherited method from Misc.


client

Inherited method from Wm.


clipboard_append

Inherited method from Misc.


clipboard_clear

Inherited method from Misc.


clipboard_get

Inherited method from Misc.


colormapwindows

Inherited method from Wm.


columnconfigure

Inherited method from Misc.


command

Inherited method from Wm.


config

Inherited method from Misc.


configure

Inherited method from Misc.


create_widgets

create_widgets()

Add the Treeview into the scene.


deiconify

Inherited method from Wm.


deletecommand

Inherited method from Misc.


destroy

Inherited method from Tk.


event_add

Inherited method from Misc.


event_delete

Inherited method from Misc.


event_generate

Inherited method from Misc.


event_info

Inherited method from Misc.


focus

Inherited method from Misc.


focus_displayof

Inherited method from Misc.


focus_force

Inherited method from Misc.


focus_get

Inherited method from Misc.


focus_lastfor

Inherited method from Misc.


focus_set

Inherited method from Misc.


focusmodel

Inherited method from Wm.


forget

Inherited method from Wm.


frame

Inherited method from Wm.


geometry

Inherited method from Wm.


getboolean

Inherited method from Misc.


getdouble

Inherited method from Misc.


getint

Inherited method from Misc.


getvar

Inherited method from Misc.


grab_current

Inherited method from Misc.


grab_release

Inherited method from Misc.


grab_set

Inherited method from Misc.


grab_set_global

Inherited method from Misc.


grab_status

Inherited method from Misc.


grid

Inherited method from Wm.


grid_anchor

Inherited method from Misc.


grid_bbox

Inherited method from Misc.


grid_columnconfigure

Inherited method from Misc.


grid_location

Inherited method from Misc.


grid_propagate

Inherited method from Misc.


grid_rowconfigure

Inherited method from Misc.


grid_size

Inherited method from Misc.


grid_slaves

Inherited method from Misc.


group

Inherited method from Wm.


iconbitmap

Inherited method from Wm.


iconify

Inherited method from Wm.


iconmask

Inherited method from Wm.


iconname

Inherited method from Wm.


iconphoto

Inherited method from Wm.


iconposition

Inherited method from Wm.


iconwindow

Inherited method from Wm.


image_names

Inherited method from Misc.


image_types

Inherited method from Misc.


info_patchlevel

Inherited method from Misc.


insert_items

insert_items(parent_id, item, depth=1)

Recursively insert dictionary/list items into the treeview with indentation.


keys

Inherited method from Misc.


lift

Inherited method from Misc.


loadtk

Inherited method from Tk.


lower

Inherited method from Misc.


mainloop

Inherited method from Misc.


manage

Inherited method from Wm.


maxsize

Inherited method from Wm.


minsize

Inherited method from Wm.


nametowidget

Inherited method from Misc.


on_item_click

on_item_click(event)

Toggle expand/collapse of items.


option_add

Inherited method from Misc.


option_clear

Inherited method from Misc.


option_get

Inherited method from Misc.


option_readfile

Inherited method from Misc.


overrideredirect

Inherited method from Wm.


pack_propagate

Inherited method from Misc.


pack_slaves

Inherited method from Misc.


place_slaves

Inherited method from Misc.


positionfrom

Inherited method from Wm.


propagate

Inherited method from Misc.


protocol

Inherited method from Wm.


quit

Inherited method from Misc.


readprofile

Inherited method from Tk.


register

Inherited method from Misc.


report_callback_exception

Inherited method from Tk.


resizable

Inherited method from Wm.


rowconfigure

Inherited method from Misc.


selection_clear

Inherited method from Misc.


selection_get

Inherited method from Misc.


selection_handle

Inherited method from Misc.


selection_own

Inherited method from Misc.


selection_own_get

Inherited method from Misc.


send

Inherited method from Misc.


setvar

Inherited method from Misc.


size

Inherited method from Misc.


sizefrom

Inherited method from Wm.


slaves

Inherited method from Misc.


state

Inherited method from Wm.


title

Inherited method from Wm.


tk_bisque

Inherited method from Misc.


tk_focusFollowsMouse

Inherited method from Misc.


tk_focusNext

Inherited method from Misc.


tk_focusPrev

Inherited method from Misc.


tk_setPalette

Inherited method from Misc.


tk_strictMotif

Inherited method from Misc.


tkraise

Inherited method from Misc.


transient

Inherited method from Wm.


unbind

Inherited method from Misc.


unbind_all

Inherited method from Misc.


unbind_class

Inherited method from Misc.


update

Inherited method from Misc.


update_idletasks

Inherited method from Misc.


wait_variable

Inherited method from Misc.


wait_visibility

Inherited method from Misc.


wait_window

Inherited method from Misc.


waitvar

Inherited method from Misc.


winfo_atom

Inherited method from Misc.


winfo_atomname

Inherited method from Misc.


winfo_cells

Inherited method from Misc.


winfo_children

Inherited method from Misc.


winfo_class

Inherited method from Misc.


winfo_colormapfull

Inherited method from Misc.


winfo_containing

Inherited method from Misc.


winfo_depth

Inherited method from Misc.


winfo_exists

Inherited method from Misc.


winfo_fpixels

Inherited method from Misc.


winfo_geometry

Inherited method from Misc.


winfo_height

Inherited method from Misc.


winfo_id

Inherited method from Misc.


winfo_interps

Inherited method from Misc.


winfo_ismapped

Inherited method from Misc.


winfo_manager

Inherited method from Misc.


winfo_name

Inherited method from Misc.


winfo_parent

Inherited method from Misc.


winfo_pathname

Inherited method from Misc.


winfo_pixels

Inherited method from Misc.


winfo_pointerx

Inherited method from Misc.


winfo_pointerxy

Inherited method from Misc.


winfo_pointery

Inherited method from Misc.


winfo_reqheight

Inherited method from Misc.


winfo_reqwidth

Inherited method from Misc.


winfo_rgb

Inherited method from Misc.


winfo_rootx

Inherited method from Misc.


winfo_rooty

Inherited method from Misc.


winfo_screen

Inherited method from Misc.


winfo_screencells

Inherited method from Misc.


winfo_screendepth

Inherited method from Misc.


winfo_screenheight

Inherited method from Misc.


winfo_screenmmheight

Inherited method from Misc.


winfo_screenmmwidth

Inherited method from Misc.


winfo_screenvisual

Inherited method from Misc.


winfo_screenwidth

Inherited method from Misc.


winfo_server

Inherited method from Misc.


winfo_toplevel

Inherited method from Misc.


winfo_viewable

Inherited method from Misc.


winfo_visual

Inherited method from Misc.


winfo_visualid

Inherited method from Misc.


winfo_visualsavailable

Inherited method from Misc.


winfo_vrootheight

Inherited method from Misc.


winfo_vrootwidth

Inherited method from Misc.


winfo_vrootx

Inherited method from Misc.


winfo_vrooty

Inherited method from Misc.


winfo_width

Inherited method from Misc.


winfo_x

Inherited method from Misc.


winfo_y

Inherited method from Misc.


withdraw

Inherited method from Wm.


wm_aspect

Inherited method from Wm.


wm_attributes

Inherited method from Wm.


wm_client

Inherited method from Wm.


wm_colormapwindows

Inherited method from Wm.


wm_command

Inherited method from Wm.


wm_deiconify

Inherited method from Wm.


wm_focusmodel

Inherited method from Wm.


wm_forget

Inherited method from Wm.


wm_frame

Inherited method from Wm.


wm_geometry

Inherited method from Wm.


wm_grid

Inherited method from Wm.


wm_group

Inherited method from Wm.


wm_iconbitmap

Inherited method from Wm.


wm_iconify

Inherited method from Wm.


wm_iconmask

Inherited method from Wm.


wm_iconname

Inherited method from Wm.


wm_iconphoto

Inherited method from Wm.


wm_iconposition

Inherited method from Wm.


wm_iconwindow

Inherited method from Wm.


wm_manage

Inherited method from Wm.


wm_maxsize

Inherited method from Wm.


wm_minsize

Inherited method from Wm.


wm_overrideredirect

Inherited method from Wm.


wm_positionfrom

Inherited method from Wm.


wm_protocol

Inherited method from Wm.


wm_resizable

Inherited method from Wm.


wm_sizefrom

Inherited method from Wm.


wm_state

Inherited method from Wm.


wm_title

Inherited method from Wm.


wm_transient

Inherited method from Wm.


wm_withdraw

Inherited method from Wm.