i have some problems with yview_scroll and CTkScrollableFrame #2651
Unanswered
Arash-ader
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello
( I apologize because my English is not good :)
First of all, I want to thank you for this good library.
I have some problems with CTkScrollableFrame and yview_scroll in my project, this is part of the code:
In this code, I am trying to create a CTkScrollableFrame and like messengers, the scroll label stays at the bottom with each message label and displays the last message.(I'm trying to use a scrollable widget for users to display messages like other messaging apps, but I'm having trouble keeping the frame scrolled to the bottom when a new message is added.)
code:
# Chat box chat_box_frame = ctk.CTkScrollableFrame(bitchat_win, height=422, width=680, corner_radius= chat_box_frame.place(x=10, y=100)
when i get error:
chat_box_frame.yview_scroll(1, "units")
the error:
Unresolved attribute reference 'yview_scroll' for class 'CTkScrollableFrame'
AttributeError: 'CTkScrollableFrame' object has no attribute 'yview_moveto'
Beta Was this translation helpful? Give feedback.
All reactions