Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Tkinter is the Python binding for the Tk graphical user interface (GUI) widget library.

1
vote
0answers
27 views

Having trouble on one of the raspi official projects “getting started with GUIs”

I have raspi 3, and working on "Getting started with GUIs". I am currently on this page (https://projects.raspberrypi.org/en/projects/getting-started-with-guis/11) and having trouble at the line ...
0
votes
0answers
12 views

Tkinter, insert an image in one button between multiple buttons / windows

Beginner / its my 1st time asking a question over here (.. over anywhere else also) so let me apologies in advance if any rules would'have not been followed I'am doing an interface on raspbian/...
0
votes
1answer
30 views

Start Python script with image display (Start Python Skript mit Bilderanzeige)

I want to build a photo box with a Raspberry Pi 3B + (Raspbian). The Python code works, but the autostart does not work: I've already tried to write the file in crontab, rc.local, bash.rc, a desktop ...
-1
votes
1answer
126 views

How to remove the kill prompt of a python script?

I have a python script that uses Tkinter, the quit button I have implemented pops up a prompt on the python shell after pressing it, which it didn't do on Windows when I wrote the code and tested it. ...
0
votes
0answers
30 views

ModuleNotFoundError: No module named 'maze_support' “PAGE” tkinter error

Hello I'm trying to create a tkinter GUI for sending a picture througt email. I'm trying to use tkinter GUI generator named: PAGE. I created a good looking project and tried to run it. Sadly there ...
0
votes
1answer
48 views

Geany IDE won't show the graphics window when I run my Tkinter script

I am trying to switch to Geany IDE for coding Python on the Pi. ** Note, In an earlier question, I made the mistake of obscuring this question by combining it with another one... so this question ...
0
votes
1answer
39 views

I'm wanting to get user input from a screen, but I can't have any buttons

I'm developing an python3 application that only uses a handheld scanner for input. I need to prompt the user for input and want to use a nice window to do it. When I look at tkinter, it appears that ...
0
votes
0answers
144 views

Raspberry Pi + Mcp2515

I used Raspberry Pi + Mcp2515 with CAN bus. In my code, When I lost request it will locked,then GUI will not working. msg = can.Message(arbitration_id=0x000601, data=point, extended_id=false) bus....
0
votes
0answers
90 views

What could I do to optimize rendering time of image with tkinter?

I've been working on a project using Python 2.7 and TKinter which needs to render 25 images per second based on GPIO inputs. I have working code on my Ubuntu laptop, which is able to render an image ...
0
votes
0answers
204 views

Combining Opencv and Tkinter

I am new to python and I am stuck with this problem. I want to create a window that would have an entry box for threshold, which would then be used to make a binary image from camera. The binary image ...
1
vote
1answer
2k views

Virtual on-screen keyboard for raspberry pi touch screen

The following is simple code that accepts a line of text from a user: from tkinter import * from tkinter import ttk root= Tk() entry= ttk.Entry(root, width=30) entry.pack() I am running this ...
0
votes
0answers
76 views

Running Tkinter script from.ssh. [duplicate]

My pi is connected to a screen and running the desktop. I want to be able to fire off a python script remotely using that is running Tkinker. I don't do want to forward the screen over ssh just be ...
0
votes
1answer
95 views

How do you put the serial values(from arduino) to a specific grid in Tkinter? (Python 2.7)

I tried to put values in the grids from a string. But the values are not showing or updating. How do you put serial values(from arduino) to a specific grid in Tkinter? When I run the code, no values ...
2
votes
1answer
1k views

Is there a python picam gui out there?

Before starting to code a new GUI in tkinter (or something similar) for picam, I was wondering if there is something already available. What I am looking for is a simple GUI to set the picam ...
0
votes
0answers
59 views

RPi Zero W, Photobooth Python2 Tkinter - Keeps Crashing/Rebooting Pi when code is run

I'm having a bit of an issue with my raspberry pi rebooting when I run this code. IT also seems to crash at different points.. sometimes when writing the picture file, sometimes when taking picture, ...
1
vote
1answer
2k views

tkinter.TclError: couldn't connect to display

i'm using raspbian Jessie on the raspberry PI3, when I try to run my code, that is a GUI written in Python, it gives me this error: erle@erle-brain:~ $ sudo python provaGUI.py Traceback (most recent ...
1
vote
2answers
2k views

No module named '_tkinter' in DEBIAN

I have some problems with tkinter. I want to use it with python 2.7.9 or python 3.4 with DEBIAN but it give me this error in both cases: Python 3.4.3 (default, Dec 1 2017, 16:25:43) [GCC 4.9.2] on ...
1
vote
0answers
129 views

How to make omxplayer not always on top?

I am using Adafruit's Video Looper to loop on a video using python script and omxplayer. Although, I made a few modifications. I want a popup window to appear when a GPIO button is pressed. I have ...
2
votes
0answers
2k views

Want to Read COM Port Data and Write into TKinter Text Window

Using Python3, I want to read data on a serial port and display it into a tkinter GUI text window (not only the shell). Pretend I am trying to make the equivalent of a serial port character display. ...
0
votes
1answer
255 views

Custom menu GUI

I am trying to make a retro gaming console with the Pi Zero W. The first thing I want to happen is a custom menu screen show up. I know how to make a custom Tkinter GUI but I want it to show up when ...
1
vote
1answer
226 views

Plotting information from analog-to-digital conversion

I am reading an analog signal in volts (0 - 1 V) using an adafruit ADA1115 chip. I want to save the data with at least 100 sps and plot it real time at the same time (plotting can be done at 1-10 Hz). ...
1
vote
0answers
611 views

raspi+ADC realtime plotting

I recently succeeded in receiving ADC Data from ADS7851 through SPI communication. Now I'm working on plotting those voltage data and also fft of them. I've done some research, and found out that ...
1
vote
1answer
228 views

Raspberry pi freezes after 20 minutes of use

using tkinter i have made a GUI in which a video plays continuously in a loop until the ultrasonic sensor detects a person in front of it. when a person is detected it displays a messages"hi..welcome"....
1
vote
2answers
3k views

No module named 'ImageTk'

I am learning tkinter and trying to place an image on a Button, but I cannot get past the import. My code: from tkinter import * from PIL import Image, ImageTk The error: No module named 'ImageTk' ...
0
votes
0answers
1k views

Multi-threading Python GUI (TkInter) Whilst Listening for User Input from /dev/stdin

I'm writing a Python script with a GUI (TkInter) which listens for an RFID token being presented (using a USB reader which emulates keyboard input into a Raspberry Pi 3.). I've previously been helped ...
0
votes
1answer
208 views

Tkinter application window in front of Chromium in Kiosk mode

On my Raspberry Pi I have created a tkinter application with one button and configured Chromium to start in kiosk mode. In my python application I set the following: root.lift() root.wm_attributes("...
1
vote
0answers
105 views

Issue calling commands behind Tkinter

I'm trying to get an audio playback system on a Raspberry Pi to play back a selected sample in Python when the GPIO detects an input from an Arduino, (stepped down to 3.3V). Here a simplified section ...
1
vote
3answers
2k views

How to run a GUI Interface on a Remote Machine

I have written a Python Tkinter program which uses buttons to control a Motor which is linked to the GPIO pins, It also displays any changes as a tkiner label e.g Button pressed will change the label ...
1
vote
0answers
143 views

Tkinter auto start issue

I'm building a kiosk with raspberry pi 3. And using Raspbian Jessie with Pixel. My python program is using GPIOs, Raspi camera, OpenCV and Tkinter for GUI building. I'm trying to auto start my python ...
2
votes
2answers
962 views

Hiding boot screen for kiosk usage

I'm developing a kiosk with raspberry pi. What I want to do is, when my customer power up the kiosk, it should start directly from the tkinter GUI that I designed. Even if I still have problems with ...
1
vote
1answer
2k views

I want to toggle a pushbutton and display it on tkinter GUI

I want to toggle a pushbutton and show its changes on a label using tkinter. If I press the button it shows "on" on the label and when I press again it shows "off" on the label So I try these codes ...
1
vote
3answers
10k views

tkinter on Raspberry Pi; Raspbian/Jessie Python 3.4

I installed tkinter using the following request: sudo apt-get install python3-tk When I try to import the module using: #!/usr/local/lib/python3.4 import tkinter as tk The above two lines ...