Code in Python
Machine Learning and Deep Learning Blogs

Tag: Layout

Working with Grid Layout in Tkinter

In this chapter, we are going to organize the widgets in the main window in a grid layout. Previously, we used pack(), which just places them on the screen. We could just change the position of the widget i.e., we could place them one over other or side by side. But it didn’t give you […]

How to fit widgets in your Tkinter layout

In this chapter, you will learn how to fit widgets in our layout. The basic structure of the program is going to be the same i.e., from tkinter import * var = Tk() var.mainloop() So let’s make some labels. We will not add any frame in this window. We will just add labels in our […]

How to Organize your Layout in Tkinter

In the last chapter we learned how to make a very simple window, we also learned how to add text and also how to make our window appear constantly without disappearing quickly. Before we add a bunch of widgets, we have to learn how to organize the layout. From the last chapter, from tkinter import […]

© 2018 Code in Python