-m
This commit is contained in:
parent
b9b8e3a5f1
commit
6c8a2526d9
40 changed files with 219 additions and 141 deletions
|
@ -1,16 +1,20 @@
|
|||
import tkinter as tk
|
||||
from functools import partial
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import core.gui.menuaction as action
|
||||
from core.gui.coreclient import OBSERVERS
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from core.gui.app import Application
|
||||
|
||||
|
||||
class Menubar(tk.Menu):
|
||||
"""
|
||||
Core menubar
|
||||
"""
|
||||
|
||||
def __init__(self, master, app, cnf={}, **kwargs):
|
||||
def __init__(self, master: tk.Tk, app: "Application", cnf={}, **kwargs):
|
||||
"""
|
||||
Create a CoreMenubar instance
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue