CTkMenuBar
CTkMenuBar copied to clipboard
Modern menu/tool bar widget library for customtkinter. (extension/add-on)
Hi! I used accelerator feature in an cascade option but I get: ValueError: ['accelerator'] are not supported arguments. Doesn't this support accelerator, or it's another function like this?
There may be mistakes, I suggest you check before adding
Hi! I need to empty a submenu, previously populated with a "postcommand" function as per the May 7 post? Previously, I can remove all item with "menu.delete(0, num)" command. Thanks!
I've encountered an issue when using the CTkMenuBar module in an object-oriented (OOP) context. The dropdown menus do not appear or function as expected when incorporated into a class-based GUI...
When I create it in the same way as in the example, and specify the correct window to which it will attach, I don't get anything. Just a blank window
When you have an option in a dropdown you could add a checkbox to set a value to either true or false.
``` from customtkinter import * from CTkMenuBar import CTkMenuBar, CustomDropdownMenu from PIL import Image, ImageDraw class PaintShape(CTk): def __init__(self): super().__init__() menu = CTkMenuBar(self) add_shape = menu.add_cascade("Add Shape") dropdown = CustomDropdownMenu(widget=add_shape)...
This is my code: ```python import customtkinter from CTkMenuBar import CTkTitleMenu, CustomDropdownMenu from CTkTable import CTkTable class ImageDownloader(customtkinter.CTk): def __init__(self) -> None: super().__init__() # self.title("DownloadImgTool") self.title("") self.width = 900 self.height...
Expected behavior: Click on a menu item (e.g., 'File') and the submenu expands. Move the mouse to the second menu item (e.g. 'Edit'). The submenu for the File should close...