Rank.RankView#

Rank.RankView.py

Copyright (c) 2022, SAXS Team, KEK-PF

class RankView(parent, sd, data_type, **kwargs)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

show()#
synchronize()#
class RankViewMenu(parent, dialog)#

Bases: Frame

Construct a frame widget with the parent MASTER.

Valid resource names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.

config(**kwargs)#

Configure resources of a widget.

The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method keys.

show_rankview(data_type, correct=False)#
show_view_params_dialog()#
class RankViewParamsDialog(parent, view_kw=None, trim=True)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

apply()#

process the data

This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

get_parameters()#
show()#