SerialAnalyzer.CustomNavigationToolbar

SerialAnalyzer.CustomNavigationToolbar#

CustomNavigationToolbar.py

Copyright (c) 2017, Masatsuyo Takahashi, KEK-PF

class CustomNavigationToolbar(canvas, window)#

Bases: NavigationToolbar2Tk

Parameters:
  • canvas (FigureCanvas) – The figure canvas on which to operate.

  • window (tk.Window) – The tk.Window which owns this toolbar.

  • pack_toolbar (bool, default: True) – If True, add the toolbar to the parent’s pack manager’s packing list during initialization with side="bottom" and fill="x". If you want to use the toolbar with a different layout manager, use pack_toolbar=False.

mouse_move(event)#