grapa.frontend.widgets_graphmanager.GraphHandler

class grapa.frontend.widgets_graphmanager.GraphHandler(title: str, child, **kwargs)

Bases: object

A container to store a child, a ‘title’, as well as other data (as a dict). The class has a rather generic implementation, its use within grapa is more specific.

Param:

title: title of the tab (str)

Parameters:
  • child – e.g. a tk.Frame

  • kwargs – will be stored in an internal dict. to be used to store e.g. a graph, a filename, folder etc.

__init__(title: str, child, **kwargs)

Methods

__init__(title, child, **kwargs)

child([child])

properties()

property(key)

reset(title, child, **kwargs)

title([title])

update(**kwargs)

Attributes

DEFAULT_PROPDICT