You are browsing as a guest. Sign up (or log in) to start making projects!

Bluefox

@Bluefox

Joined May 31st, 2026

  • 3Devlogs
  • 5Projects
  • 0Ships
  • 0Votes
Just a tech
Open comments for this post

4h 2m 36s logged

At the moment, I am pushing aside the huge task of implementing the backend and instead working on the simpler task of front end. My application has gone through several iterations.

  • Before the buttons, I had tabs.
  • After the buttons, I decided to make a sidebar, and eventually I decided to move that sidebar to the side.
  • A lot of time has also been spent on figuring out how a grid layout is implemented by Tkinter. Such as, figuring out why putting a button in the 2nd column of 3, does not put it in the middle.
  • Eventually, I switched to using place, which gives more control, although figuring out why it caps at some values is an issue.
  • Now, I am figuring out Canvas, a subsidiary of Tkinter. Which will allow me to draw lines. I will use that to replace the box my labels are currently in.
  • The current problem is figuring out why I can not fill my lines. I can fill the Canvas upon which the line lays, but not the Canvas. The line being the outline, from what I can gather.
  • My code for this section is as follows:
    ‘’‘divider = tk.Canvas(self, width = 100, height = self.winfo_screenheight(), background = “yellow”) 
    divider.create_line(400, 400, 400, 0, fill = “blue”, width = 1)
    divider.place(relx = 0.26, rely = 0)’’’
0
0
1
Open comments for this post

4h 3m 36s logged

As of now, I have finally implemented buttons which allow the user to navigate to different pages, or frames, of the app. Unfortunately, I had struck a problem. As a newbie to Tkinter, and Python in general, I rely on building upon the works of those before me. The issue is implementing them. Sometimes they’d open separate windows or throw up errors when I try to change them to fit. Plus, the source I was using was vague.

Fortunately, I had found a better source and after figuring out, with some trial and error, where to place what, tabs are a thing of the past, as of right now.

My next step will be to sort out the white void.

https://stackoverflow.com/questions/7546050/switch-between-two-frames-in-tkinter

0
0
2

Followers

Loading…