guizero is a Python 3 library for creating simple GUIs. Works with standard Python tkinter GUI library. Designed to allow new learners to quickly and easily create GUIs for their programs.
Questions tagged [guizero]
64 questions
0
votes
1 answer
How to center launch second window in the middle of the main window with python 3 tkinter/guizero?
I am trying to open a second window in the center of the main window. It needs to work where ever the main window is located and for what ever the main window's size is. I have set up some some test widget to make sure that when the second window is…

PurpleLlama
- 168
- 1
- 2
- 14
0
votes
0 answers
How can i in guizero TextBox disable() use?
Hi I'm trying to develop a system in which I use a barcode scanner and scan membership cards and recognize who is there by ID, then my system. So only time tracking. I have PyMySQL. They works all fine but i now have TextBox with the command
...
def…

Daywalker
- 1
- 2
0
votes
1 answer
Can GUIZERO develop by sensor? If possible, how? (Using If Elif and Else statement?)
Can GUIZERO be used for developing with sensors, or is GPIOZERO required?
I'm new to python and programming in general.
I want to develope a Lift and Learn project. I have no idea how to create the script.
Here is my idea:
The display shows 5…

Germaine Ong
- 1
- 2
0
votes
1 answer
What's wrong with my script for a username and password in guizero?
I'm working on a project involving username and password input boxes that both have to be a certain phrase in order for the user to get to the next stage of the program. Currently, when the PushButton is pressed, regardless of whether the correct…

Heavens1337
- 3
- 1
0
votes
1 answer
Guizero MacOS Vscode
I'm following helloworld example using Guizero from
https://lawsie.github.io/guizero/
Below codes
from guizero import App
app = App(title="Hello world")
app.display()
If I run from the terminal runs fine. But if I run from VSCode I'm getting…

ArindamD
- 3
- 2
0
votes
0 answers
Why does sleep run before my code? - Python
from guizero import App, Window, Drawing, PushButton, Text
from time import sleep
def redon():
draw.oval (325, 550, 575, 800, color="#f70000")
def redoff():
draw.oval (325, 550, 575, 800, color="#520404")
def greenon():
draw.oval (325,…
0
votes
2 answers
How do I add back the icon to the task bar in guizero/tkinter python 3?
I am trying to add back the icon for a custom app window with the border removed. I made this in Guizero/Tkinter. I Need to be able to add back the icon so it can be displayed in the taskbar. The icon need to be displayed as active so that you can…

PurpleLlama
- 168
- 1
- 2
- 14
0
votes
1 answer
How can I exchange text fonts on buttons and text in guizero?
I Try to use some fonts in Buttons and Text on Python Guizero. But it show always the same font. All the fonts are installed in my Linux system but the guizero do not show them.
Anyone know how can I use other fonts from the system? I need to…

lufla
- 1
0
votes
1 answer
Why don't my LEDS stay on when the guizero buttons are pressed?
I wrote a simple python dashboard, using guizero and gpiozero, to turn LEDS on and off. I only have a problem with the LEDS, they only turn on for 1 second before they turn off. I tried to use time.sleep() to see if the LEDS would stay on, but…
0
votes
1 answer
Python,Guizero: Change the color the top menubar of an app
I'm pretty new to python & coding and i'm currently experimenting with guizero to make some basic dashboards.
My question is: How do i change the top menu bar of an App in guizero? Is this even possible?
Thank you in advance.
My code:
from guizero…

Kevin V
- 1
- 2
0
votes
1 answer
Error in non related fix, small game built with Python using Guizero
So, I'm building this simple game in Python, and I decided to introduce a new feature that allows for regulating the map size (a guizero waffle). In line 16 (waffle.height = waffle.width = Levelsizenumber.value =int(e)) I added code that changed the…

Kidplayer_666
- 1
- 2
0
votes
0 answers
Error in code after non related code fix. Python, built using Guizero
So, I'm building this simple game in Python, and I decided to introduce a new feature that allows for regulating the map size (a guizero waffle). In line 16 (waffle.height = waffle.width = Levelsizenumber.value =int(e)) I added code that changed the…

Kidplayer_666
- 1
- 2
0
votes
0 answers
your_pic.set(latest_photo) AttributeError: 'Picture' object has no attribute 'set'
I can't work out how to give the 'Picture' object a attribute 'set' in this code so my code for your_pic.set(lastest_photo) is not working properly. The 3rd line from the bottom defines the Picture, so I'm not sure what I'm missing. Could someone…

smaft
- 1
0
votes
2 answers
The background color of my guizero code is not updating
The background color of my guizero code is not updating. It starts with grey and stays grey (color options are blue, orange, red) but print statement gives proper value. The temp value is updating normally in GUI. What part of the bg_color…

Priyank
- 31
- 1
- 2
0
votes
2 answers
How to convert string to int from a TextBox of GUIzero?
I wants to convert a string to an integer from TextBox of GUIzero.
My project is create a GUI form, from where I will grab length of a password and quantity of a password. Then I will show number of random passwords.
from guizero import App, Text,…

Shaik
- 1
- 2