user7829779
user7829779

Reputation:

How to implement a toolstrip to my GUI?

I am creating a simple application to manage unknown words when learning a new language. The application is written in Python and I am using Tkinter to build the GUI.

GUI

As you can see, I am almost done - all I need is a toolstrip with several buttons on it, but it seems that there is no toolstrip widget in Tkinter. How can I overcome the issue?

Upvotes: 0

Views: 250

Answers (1)

user7829779
user7829779

Reputation:

There is no toolstrip widget when it comes to Tkinter.

You have three options:

1) If you want to continue building your application using Tkinter, you could create a frame at the top of your GUI and add some buttons into it, which would act as an alternative to a toolstrip.

2) You can design your own widget using Tcl, which is definitely a lot of effort for a beginner.

3) You can start from scratch by switching to PyQt which has QToolBar and QMenuBar (depending on whether you want icons or text as buttons in the toolstrip).

Upvotes: 1

Related Questions