Questions tagged [tkinter]
Tkinter is the Python binding for the Tk graphical user interface (GUI) widget library.
74 questions
0 votes
0 answers
66 views
Well written soft doesnt work after update
I wrote code for my RPi as below and it was working preatty long time, unfortunatelly after system update buttons Start and Stop does not generate any reaction. What may be the reason and how to fix ...
0 votes
1 answer
86 views
Can't use tkinter, and may have multiple versions of python at once?
Unfortunately, I wasn't able to make this post with all the information I wanted to give. I was originally going to post it from the RPi 400 that I was having all these problems on, but apparently ...
-1 votes
1 answer
400 views
OpenCV issue - cv2image = cv2.cvtColor(frame, cv2.COLOR_BGR2RGBA)
I am curently trying to run the code below, which feeds a live stream to a tkinter gui: from tkinter import * from PIL import ImageTk, Image import cv2 root = Tk() # Create a frame app = Frame(root, ...
1 vote
0 answers
2k views
VideoPlayer using python, tkinter and pythong-vlc
I have created a video (with audio) player using vlc on Raspberry pi 4 board. Code and other details below. I have an HDMI screen attached on HDMI-1. I am hiding the desktop using this approach. This ...
1 vote
1 answer
242 views
My Application (based on python tkinter) is not running at Boot time (autostart) in Raspberry Pi Os?
I have made executable file of python tkinter application. It runs well when clicked. But I want to run it at Boot time (AutoStart) in Raspberry Pi Os. I have tried many methods but they didn't work. ...
1 vote
0 answers
96 views
Tkinter GUI not starting on boot with ROS
I'm trying to launch a tkinter GUI I made that is used to read GPIO pins as well as some ROS topics. I'm using Buster 10 and ROS Melodic with Python 3.7. I am using Clearpath's robot_upstart package ...
0 votes
0 answers
271 views
Using Tkinter GUI to control the GPIO pins on Raspberry Pi when GUI isn't stored in Pi
Using Tkinter to control the GPIO pins on Raspberry Pi is easy and trivial, but can it be done when GUI is not stored in pi, but to another device. granted the device and Pi are connected to the same ...
1 vote
1 answer
352 views
Raspberry Pi 2 B Tkinter performance problem [closed]
I am trying to write a simple python program for a Rasperry Pi 2 Model B. When finished it should be able to get a few values via uart and display one out of 200 images based on that. Additionally, it ...
0 votes
0 answers
61 views
Tkinter's 'create_text' inconsistent between raspberry pis
This one has me completely stumped, hoping someone can point me in the right direction! Here's my MRE of the issue: from tkinter import * root = Tk() w = 200 h = 200 c = Canvas(root, width=w, ...
0 votes
1 answer
133 views
Raspberry Pi official Display
I bought the official Raspberry Pi Display and wonder now how I can display a GUI on it. I‘m using Raspbian with desktop. I did a lot of research and tried to make an Autostart Programm, which shows a ...
0 votes
1 answer
349 views
Controlling a rotary encoder through a Tkinter interface (letting RPI control the dial instead of the dial controlling a function on the RPI)
EDIT*** I have a "STEC11B03 ALPS" rotary encoder and I want a python script to output the same signal to the circuit as the rotary encoder does when turning. I want the script to do the same ...
0 votes
0 answers
579 views
How to run python tkinter at start
I want to start my GUI app wrote in python with tkinter at start my Rpi, I set the start method in the rc.local like this: sudo bash -c 'python /home/pi/Desktop/appPython/good.py > /home/pi/...
0 votes
1 answer
1k views
Raspberry pi cannot run an executable file created in Python
I' m new to Raspberry Pi and I created a file with the code: from tkinter import * from PIL import Image, ImageTk import board import busio from adafruit_as726x import AS726x_I2C import time import ...
0 votes
1 answer
76 views
Python tkinder reset button code fails on third attempt
I am trying to trigger a timer when there is audio and stop the timer when the audio is lower than a set value. There is a reset button that will reset the timer back to zero. The reset button works ...
1 vote
0 answers
228 views
Tkinter Script Autostart
I have a problem with loading the Tkinter script at every reboot of the Raspberry. The script is executable and starts from a .desktop file. No problem with it when the Raspbian OS is booted (I guess ...