#๐Ÿ”’ My widgets wont work and im not too sure why im very new to python and am unclear about my errors

55 messages ยท Page 1 of 1 (latest)

near ledgeBOT
#

@obtuse hamlet

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

spice kelp
#

what module are you using, i cant read that small text

obtuse hamlet
#

i can make it bigger im using pycharm

spice kelp
#

oh its np, i just dont have bandwidth right now to play video.. if you needed a help with tkinter could help you but idk which module u using

#

i just see "User Interfaces" on your ticket

obtuse hamlet
spice kelp
#

that error means you're using 2 different layout managers (pack, place, or grid) within the same parent container

obtuse hamlet
#

omg i see it...

spice kelp
#

you use more than one layout manager in the same project but not within the same container

obtuse hamlet
#

okay hold on

spice kelp
#

looks like the only odd widget that isn't in the same layout manager is that label1

obtuse hamlet
#

okay so that kinda worked but i got a new error

obtuse hamlet
spice kelp
#

okay that's because you didn't create login_button

spice kelp
#

because they're all within the window widget.. same container.. cant mix layout managers in same container

#

you just need to create your login_button

obtuse hamlet
#

i switched that one to grid and made what i THINK is a proper button

spice kelp
#

yeah there u go

obtuse hamlet
#

okay so now this

spice kelp
#

mis-spelled columnspan

obtuse hamlet
#

and idk if this is common sense stuff or not but like i said im VERY new to pythonprofla3Kekslide

spice kelp
#

on line 32

#

its all good.. i been using tkinter long time now

#

tkinter is a good place to start learning GUIs

#

its lightweight and easy

obtuse hamlet
#

...

#

i need to type slower

spice kelp
#

there you go.. just remember to put things in frames if you want more control over positioning widgets

#

i mean you dont have to.. but like if you wanted to make it look even better, frames are best way to go

obtuse hamlet
#

okay yeah im still learning and im sure you can see im using customtkinter as well but i couldint figure out how to make multiple windows with it so i just added tkinter

spice kelp
#

like in your situation, i would probably have 4 frames there..
1 for the title label
1 to put the username label and it's entry widget both in together
1 to put the password label and its entry widget both in together
1 to put the login button in (you might later want a reset button or something else who knows)

#

ah i never did use custom tkinter myself

obtuse hamlet
#

okay yeah this is just a little solo project im doing to strain my skills

spice kelp
#

its good if you know it though.. i just personally didn't.. now I left Tkinter for GTK4

obtuse hamlet
#

this is what i have with ctk

spice kelp
#

nice looks good =]

obtuse hamlet
#

def a lot better than the 2nd one

spice kelp
#

yee

#

tkinter known for its outdated looks.. but.. its kind of like other GUIs without all the additions.. you can make your own additions

obtuse hamlet
#

well thanks fo your help its greatly appreciated i dont really wanna end this convo however i dont want to keep thiis thread open because its in the help channel

obtuse hamlet
spice kelp
#

yeah np.. if you ever need help, im usually in the first off-topic channel if i dont see your Tkinter ticket in here

obtuse hamlet
#

awesome thank you

#

ill keep you in mind pal

spice kelp
#

ty

#

have a good one.. just holler if u need me =]

obtuse hamlet
#

you as well(i wont be much help lmao)

near ledgeBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

๐Ÿ”’ My widgets wont work and im not too sure why im very new to python and am unclear about my errors