Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Is CTkDesigner worth the price?
Post: Is CTkDesigner worth the price?
Is anyone using the CTkDesigner GUI designer app?
Is it worth the $20 minimum price? No trial period.
Seems much simpler compared to using Figma and TKinter-Designer. |
|
Edward_ |
GUI |
5 |
630 |
Mar-25-2024, 04:45 PM |
|
|
Thread: Using Autostart to run a GUI program at startup. Rpi
Post: Using Autostart to run a GUI program at startup. ...
I have been using an autostart display.desktop file as explained in Sec. 3 here
to auto run a program on startup, and it works fine using for my python script.
[Desktop Entry]
Name=binDisplay
Exec=/u... |
|
Edward_ |
General Coding Help |
1 |
655 |
Oct-19-2023, 01:25 AM |
|
|
Thread: Why does [root.destroy, exit()]) fail after pyinstaller? Rpi
Post: RE: Why does [root.destroy, exit()]) fail after py...
Removing the exit() solved it.
When run from terminal, there were indications that exit() was not found or invalid.
Thanks. |
|
Edward_ |
General Coding Help |
4 |
665 |
Oct-18-2023, 11:09 PM |
|
|
Thread: Why does [root.destroy, exit()]) fail after pyinstaller? Rpi
Post: RE: Why does [root.destroy, exit()]) fail after py...
(Oct-18-2023, 01:45 PM)deanhystad Wrote: Why do you exit()? Destroying the root window will stop mainloop(). There should be nothing else going one after mainloop().
Thanks Dean,
So the Exit() wou... |
|
Edward_ |
General Coding Help |
4 |
665 |
Oct-18-2023, 02:20 PM |
|
|
Thread: Why does [root.destroy, exit()]) fail after pyinstaller? Rpi
Post: Why does [root.destroy, exit()]) fail after pyinst...
I have a small GUI app with a close button that works as expected when the app is run in Thonny, but the Exit button code fails in the binary file created with pyinstaller. Since the GUI is full scree... |
|
Edward_ |
General Coding Help |
4 |
665 |
Oct-18-2023, 01:29 PM |
|
|
Thread: Comparing List values to get indexes
Post: RE: Comparing List values to get indexes
Thanks Dean,
Can you explain for me the "f" in print (f"out1: {out1}, out2: {out2}") |
|
Edward_ |
General Coding Help |
7 |
1,240 |
Jun-09-2023, 01:24 PM |
|
|
Thread: Comparing List values to get indexes
Post: RE: Comparing List values to get indexes
Dean,
That is correct.
I figured it out using:
def zoneRefresh():
out1 = 0
out2 = 0
for i in range(len(aList)):
if aList[i] in onList:
if(i) <= 10:
... |
|
Edward_ |
General Coding Help |
7 |
1,240 |
Jun-08-2023, 05:03 PM |
|
|
Thread: Comparing List values to get indexes
Post: RE: Comparing List values to get indexes
Thanks bowlofred, I fixed it.
Please excuse my rookie code
aList = ["Bin 1", "Bin 2", "Bin 3", "Bin 4", "Bin 5","Bin 6", "Bin 7", "Bin 8", "Bin 9", "Bin 10", "Bin 11", # <=10, 0-10
... |
|
Edward_ |
General Coding Help |
7 |
1,240 |
Jun-08-2023, 04:41 PM |
|
|
Thread: Comparing List values to get indexes
Post: Comparing List values to get indexes
I'm trying to compare a short temporary list of values to a master list, to obtain the index number (of short list items) and set two variable values based on the index values being <= 10 or >10... |
|
Edward_ |
General Coding Help |
7 |
1,240 |
Jun-08-2023, 03:15 PM |
|
|
Thread: Centering and adding a push button to a grid window, TKinter
Post: RE: Centering and adding a push button to a grid w...
Thanks menator
Can you briefly explain why this code worked before trying to center the grid, without using the new _aList[] ?
And the benifit of using the _aList?
I'm just trying to understand bette... |
|
Edward_ |
GUI |
15 |
5,210 |
May-25-2023, 01:43 PM |
|
|
Thread: Centering and adding a push button to a grid window, TKinter
Post: RE: Centering and adding a push button to a grid w...
(May-25-2023, 11:53 AM)deanhystad Wrote: Post entire error message please, including the full traceback.
>>> %Run grid_centered_button.py
Traceback (most recent call last):
File "/home/us... |
|
Edward_ |
GUI |
15 |
5,210 |
May-25-2023, 01:38 PM |
|
|
Thread: Centering and adding a push button to a grid window, TKinter
Post: RE: Centering and adding a push button to a grid w...
So I now have a strange error in the centering grid when I use the needed check_alerts() function from my original code.
Or should I make a separate post?
The error is:
File "/usr/lib/python3.9/tkint... |
|
Edward_ |
GUI |
15 |
5,210 |
May-25-2023, 04:06 AM |
|
|
Thread: Centering and adding a push button to a grid window, TKinter
Post: RE: Centering and adding a label to a grid window,...
(May-21-2023, 01:56 AM)deanhystad Wrote: To center justify a label you set "justify = tk.CENTER". The label will have to be the same width as the buttons, so you should set sticky=
"NEWS".using:
fr... |
|
Edward_ |
GUI |
15 |
5,210 |
May-22-2023, 04:49 PM |
|
|
Thread: Centering and adding a push button to a grid window, TKinter
Post: RE: Centering and adding a push button to a grid w...
Thanks to all, you all are a part of my TKinter crash-course.
Menator01,
In 'Your code altered a little' code, the onList[] in this project will be getting additions and removals every few minutes po... |
|
Edward_ |
GUI |
15 |
5,210 |
May-22-2023, 03:57 PM |
|
|
Thread: Centering and adding a push button to a grid window, TKinter
Post: Centering and adding a push button to a grid windo...
This May be really simple, but I'm not finding enough details to help as I'm just learning TKinter.
I have a simple grid sourced by a Python list, and I'm trying to center it regardless of window siz... |
|
Edward_ |
GUI |
15 |
5,210 |
May-20-2023, 05:22 PM |