scrollbar

Two tkinter Scrollbars conflict: the first scrolls correctly and the second does not

Two tkinter Scrollbars conflict: the first scrolls correctly and the second does not Question: I have a tabcontrol where the scrollbars of Tab 2.1 and Tab 2.2 conflict. Tab 2.2 scrollbar scrolls vertically correctly. However, Tab 2.1‘s scrollbar doesn’t scroll. How can I solve the problem? from tkinter import ttk import tkinter as tk window …

Total answers: 1

how to manage scrollbar with not visible items in PySimpleGUI

how to manage scrollbar with not visible items in PySimpleGUI Question: i have developed a PySimpleGUI application and i must show a list of items depending from the number of rows readed from a file. I know that is not possible to create components dinamically in PySimpleGUI, so i’ve defined a max number of components …

Total answers: 1

tkinter canvas with mousewheel

tkinter canvas with mousewheel Question: I’m trying to make a canvas scrollable with a mousewheel. I tried this to see if I could at least print something with the action of the mousewheel: from tkinter import * from tkinter import ttk import platform class MainWindow: def __init__(self): self.metrics = [] self.content = ttk.Frame(root) self.content.grid_rowconfigure(0, weight …

Total answers: 1

Scrollable Frame with grid not sticking to the border and not working

Scrollable Frame with grid not sticking to the border and not working Question: I would like to make a scrollable Frame. from tkinter import * from tkinter import ttk class MainWindow: def __init__(self): self.metrics = [] self.content = ttk.Frame(root) self.v = Scrollbar(root, orient = "vertical") self.class_label = Label(self.content, text = "labels") self.A_label = Label(self.content, text …

Total answers: 1

How to add scrollbar to Python Folium popup?

How to add scrollbar to Python Folium popup? Question: How do you add a vertical scrollbar to a Python Folium map popup? I have too much information to display that the popup spans the entire screen currently. Asked By: testytesttest || Source Answers: Use an iframe object and add it to the folium.popup object. Heres …

Total answers: 1

Tkinter Text widget scroll bar doesn't show the first character

Tkinter Text widget scroll bar doesn't show the first character Question: I am trying to make a horizontal scroll bar for a text widget in tkinter, it works but when the text is long, it starts not showing some parts of the first character untill it’s totally disappeared. You can see some pixels of the …

Total answers: 1

Python tkinter frame canvas resize

Python tkinter frame canvas resize Question: I’m attempting to resize a canvas so the canvas fills the entire window when the window is resized by the user employing a ‘click and drag’ on the window edge, but I am not successful. I have looked at the following other questions: Question #1 (previously posted, but not …

Total answers: 2

Cannot use geometry manager pack inside

Cannot use geometry manager pack inside Question: So I’m making an rss reader using the tkinter library, and in one of my methods I create a text widget. It displays fine until I try to add scrollbars to it. Here is my code before the scrollbars: def create_text(self, root): self.textbox = Text(root, height = 10, …

Total answers: 3

formatting content in easygui message box and adding scrollbar

formatting content in easygui message box and adding scrollbar Question: After this code runs, I would like the results to appear in a message box as separate lines of text, and not as tuples (which is what is happening now). Essentially I would like to see the results in the message box just as they …

Total answers: 1