Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7795229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:00:52+00:00 2026-06-01T23:00:52+00:00

I am developing an application that displays a large database of items. There is

  • 0

I am developing an application that displays a large database of items.

There is also a search bar allowing the user to search that database rather than scrolling through each item to find the one they need. When the search returns True (a match was made) the information needed shows up in a textbox and more options in another listbox (not scrolled now), but the ScrolledListBox does not auto-scroll to the selected item even if I am using selection_set() or list_box.active().

I got it! I had to use the list_box.yview_scroll() command! That takes 2 arguments:
1) The integer/index of where to go
2) Line by line or by pages(UNITS or PAGES)

But I do find the .see method to be more efficient!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:00:54+00:00Added an answer on June 1, 2026 at 11:00 pm

    Tkinter doesn’t have a ScrolledListBox class. Can you be more specific about which ScrolledListBox implementation you’re using?

    That being said, the scrollable widgets in Tkinter typically have a see method that will scroll enough to make sure the passed-in index is visible.

    In the comment to this answer you say you are using pmw.ScrolledListBox. According to the documentation for the ScrolledListBox widget:

    In addition, methods from the Tkinter.Listbox class are forwarded by this megawidget to the listbox component.

    Therefore, you can call any method on that widget that you can call on a Listbox widget. As I mentioned earlier, the Listbox class has a see method, so you should be able to do something like:

    the_widget.see(index)
    

    In the above example index is the row in the listbox you want to see.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a Silverlight application that displays items in a listbox control and I've
I'm developing a web application that displays items from a work queue to a
In an iPhone application I'm developing I have a Image View that displays eyes
I'm developing an application that needs to perform some processing on the user's Outlook
I am developing a web application that displays images. I would like to display
I'm developing a graphing application that on the main navigation/tab view displays a UIView
I am developing an application that displays 16 bit grayscale images. The UI for
I'm developing an OSX application that displays a web view as a part of
I'm looking at developing a Silverlight application that displays a lot of information in
I am developing a small application that executes shell commands and displays the output

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.