M. Darie
M. Darie

Reputation: 13

Tkinter Menu Bar Vertical Dot Separator

I have the following image enter image description here

Is there any way I can realize the same "vertical dot separator" in python with tkinter? If not what python gui library will have this feature? The only menu bar separator I know it's the "add_separator()" method from the Menu Class of tkinter.

Upvotes: 1

Views: 1179

Answers (1)

Bryan Oakley
Bryan Oakley

Reputation: 385880

If you're wanting to do this on a menubar, you can create a do-nothing command with either an image or a unicode character.

enter image description here

For example:

menubar.add_command(label="\u22EE",
                    activebackground=menubar.cget("background"))

Upvotes: 2

Related Questions