arelle.UiUtil

See COPYRIGHT.md for copyright information.

Module Contents

Classes

Data

API

arelle.UiUtil.TOPBORDER

1

arelle.UiUtil.LEFTBORDER

2

arelle.UiUtil.RIGHTBORDER

3

arelle.UiUtil.BOTTOMBORDER

4

arelle.UiUtil.CENTERCELL

5

arelle.UiUtil.borderImage

None

class arelle.UiUtil.gridBorder(master, x, y, border, columnspan=None, rowspan=None)

Bases: tkinter.ttk.Separator

class arelle.UiUtil.gridSpacer(master, x, y, where)

Bases: tkinter.Frame

class arelle.UiUtil.gridHdr(master, x, y, text, columnspan=None, rowspan=None, anchor='center', padding=None, wraplength=None, width=None, minwidth=None, stretchCols=True, stretchRows=True, objectId=None, onClick=None)

Bases: tkinter.Label

class arelle.UiUtil.gridCell(master, x, y, value='', width=None, justify=None, objectId=None, onClick=None)

Bases: tkinter.Entry

property value
setValue(value)
valueChanged(*args)
class arelle.UiUtil.gridCombobox(master, x, y, value='', values=(), width=None, objectId=None, columnspan=None, selectindex=None, comboboxselected=None, state=None, padx=None, attr=None)

Bases: tkinter.ttk.Combobox

property value
property valueIndex
valueChanged(*args)
class arelle.UiUtil.label(master, x, y, text)

Bases: tkinter.Label

class arelle.UiUtil.checkbox(master, x, y, text, attr=None, columnspan=None, onclick=None)

Bases: tkinter.Checkbutton

property value
valueChanged(*args)
class arelle.UiUtil.radiobutton(master, x, y, text, value, attr=None, valueVar=None)

Bases: tkinter.Radiobutton

property value
class arelle.UiUtil.scrolledFrame(parent, *args, **kw)

Bases: tkinter.Frame

_configure_interior(event)
_configure_canvas(event)

needed if only scrolling in one direction canvasW = self.canvas.winfo_width() if self.interior.winfo_reqwidth() != canvasW: # update the inner frame’s width to fill the canvas self.canvas.itemconfigure(self.interior_id, width=canvasW) canvasH = self.canvas.winfo_height() if self.interior.winfo_reqheight() != canvasH: self.canvas.itemconfigure(self.interior_id, height=canvasH)

clearGrid()
class arelle.UiUtil.scrolledHeaderedFrame(parent, *args, **kw)

Bases: tkinter.Frame

_vscroll_body(*args)
_hscroll_body(*args)
_mousewheel(event)
clearGrid()
_configure_colHdrInterior(event)
_configure_rowHdrInterior(event)
_configure_bodyInterior(event)
_configure_colHdrCanvas(event)
_configure_rowHdrCanvas(event)
_configure_bodyCanvas(event)
_configure_interiors(event)
_configure_canvases(event)
_configure_cell(event)
conformHdrsToBody()
conformBodyCellsToHeader()