ccu.fancyplots._gui.menu

Functions for menu creation and manipulation.

ccu.fancyplots._gui.menu.create_edit_menu(root: Widget | Widget) Menu[source]

Create an edit menu.

Parameters:

root – The master object for the menu.

Returns:

The created edit menu.

ccu.fancyplots._gui.menu.show_edit_menu(root: Widget | Widget) Callable[[Event], None][source]

Create an event handler that shows a cut-copy-paste-select all menu.

Parameters:

root – A widget to which the menu will belong.

Returns:

A handler that can create an edit menu.