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 option names: background, bd, bg, borderwidth, class, colormap, container, cursor, height, highlightbackground, highlightcolor, highlightthickness, relief, takefocus, visual, width.

config(**kwargs)#

Query or modify the configuration options of the widget.

If no arguments are specified, return a dictionary describing all of the available options for the widget.

If an option name is specified, then return a tuple describing the one named option.

If one or more keyword arguments are specified or a dictionary is specified, then modify the widget option(s) to have the given value(s).

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()#