#๐ 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)
@obtuse hamlet
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.
what module are you using, i cant read that small text
i can make it bigger im using pycharm
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
that error means you're using 2 different layout managers (pack, place, or grid) within the same parent container
omg i see it...
you use more than one layout manager in the same project but not within the same container
okay hold on
looks like the only odd widget that isn't in the same layout manager is that label1
okay so that kinda worked but i got a new error
label one was mainly for the main text
okay that's because you didn't create login_button
yeah but it's using the .pack() layout manager.. switch it over to grid() like the others
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
yeah there u go
okay so now this
mis-spelled columnspan
and idk if this is common sense stuff or not but like i said im VERY new to python
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
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
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
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
its good if you know it though.. i just personally didn't.. now I left Tkinter for GTK4
this is what i have with ctk
nice looks good =]
def a lot better than the 2nd one
yee
tkinter known for its outdated looks.. but.. its kind of like other GUIs without all the additions.. you can make your own additions
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
yeah but ik you can basically modify it to your hearts content(i think)
yeah np.. if you ever need help, im usually in the first off-topic channel if i dont see your Tkinter ticket in here
you as well(i wont be much help lmao)
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