grapa.frontend.frames_main.GUIFrameActionsGeneric

class grapa.frontend.frames_main.GUIFrameActionsGeneric(master, application: Application, **kwargs)

Bases: object

Handles the panel Actions on Curves Contains a Frame, to be embedded in a wider application (.frame.pack()) Some methods will call methods of application

__init__(master, application: Application, **kwargs)

Methods

__init__(master, application, **kwargs)

cast_curve()

Cast (change the type of) a Curve

choose_color()

Prompts the user to choose a color

copy_curve_to_clipboard()

Cpy the Curve into the clipboard

copy_graph_to_clipboard()

Copy the content of a Graph into the clipboard

delete_curve()

Delete the currently selected curve.

delete_curves_hidden()

Delete all the hidden curves.

duplicate_curve()

Duplicate the currently selected curve.

replace_labels()

Replace labels graph.replace_labels(old, new)

set_quick_attr()

Updates the values of the keywords label, and color

shift_curve(up_down[, relative])

Chift a Curve within the Graph

shift_curve_bottom()

hift Curve at the end of a Graph

shift_curve_down()

Shift Curve down in the Graph

shift_curve_reverse()

Reverse the order of the Curves within the Graph

shift_curve_top()

Shift Curve in the position in the graph

shift_curve_up()

Shift a Curve up in the Graph

show_hide_all()

Toggle if displayed or not, for all Curves with same value

show_hide_curve()

Toggle if Curve is displayed or not

show_hide_invert()

Toggle if displayed or not, for all Curves independently

update_ui()

Update widgets

Attributes

CASTCURVERENAMEGUI

cast_curve()

Cast (change the type of) a Curve

choose_color()

Prompts the user to choose a color

copy_curve_to_clipboard()

Cpy the Curve into the clipboard

copy_graph_to_clipboard()

Copy the content of a Graph into the clipboard

delete_curve()

Delete the currently selected curve.

delete_curves_hidden()

Delete all the hidden curves.

duplicate_curve()

Duplicate the currently selected curve.

replace_labels()

Replace labels graph.replace_labels(old, new)

set_quick_attr()

Updates the values of the keywords label, and color

shift_curve(up_down, relative=True)

Chift a Curve within the Graph

shift_curve_bottom()

hift Curve at the end of a Graph

shift_curve_down()

Shift Curve down in the Graph

shift_curve_reverse()

Reverse the order of the Curves within the Graph

shift_curve_top()

Shift Curve in the position in the graph

shift_curve_up()

Shift a Curve up in the Graph

show_hide_all()

Toggle if displayed or not, for all Curves with same value

show_hide_curve()

Toggle if Curve is displayed or not

show_hide_invert()

Toggle if displayed or not, for all Curves independently

update_ui()

Update widgets