I’m trying to create my very first GUI via Pyqt 5, and python 3.9 I created the interface in Qt designer ,got needed .ui file and translated it to .py. But i couldn’t get the code right, i tried many times but still with the same problem so i need help from PyQt5 import QtCore, ..
Am thinking about disabling the mouse double click event after one event. If i double click on an item from the list box the event disables untill i press the Enable Double click button. Is it possible to archive this and if yes kindly help. from tkinter import * def go(event): cs = Lb.curselection() # ..
I’ll try to be as concise as possible: Quite some time ago, I started using arduinos and other microcontrollers as custom MIDI devices for my PC. But now, since I’m into filmmaking, I wanted to create a grading panel for use in Blackmagic’s DaVinci Resolve. What i want exactly is to read signals from knobs ..
Hi I am trying to make it work like this: I want the user to put a letter (i.e f) and then it would listen for when the letter f is pressed, and would start the autoclicker and would stop when the letter is pressed again. My current code is down below and imported tkinter ..
I built a GUI that rename files in bulk as a study project. yet my Pycharm doesn’t show the GUI while running the code. perhaps somebody has idea on how to solve it? there are no errors in my code, works with the basic shell IDLE Source: Python..
I used Tkinter to make a context menu(right click menu), but when ever I just right click the window to open Context menu, all the functions associated with the labels. from tkinter import * def copy(): print("Copied") def copy_all(): print("Copied all") def paste(): print("Paste") def showContext(event): x, y = event.x_root, event.y_root ContextMenu = Menu(win, tearoff=0) ..
I starting looking into more aesthetically pleasing alternatives to Tkinker, and wondered what modules/libraries were used to program Youtube, Discord, and some of the other well known social apps that are written in Python. Any ideas? Source: Python..
Now I am going to design a little GUI game like find a pair. And I want to add the sound effect when I click every buttons on it. But I don’t know how to add these sound. As the previous answer How can I play a sound when a tkinter button is pushed? said, ..
I have some text in an array and I wanna show this text in order and use Next Text and Previous Text buttons to show text, it’s mean that I wanna increase the index of the array by pressing Next and showing the text, How can I do this in python using Tkinter? I used ..
class main: def __init__(self, master, grid=grid): frame = tk.Frame(master) frame.pack() self.grid = grid self.buttons = [[None for _ in range(size)] for _ in range(size)] for i in range(size): for j in range(size): self.buttons[i][j] = tk.Button(frame, text=" ", height=’1′, width=’3′)#, # command=lambda i=i, j=j: self.search(i, j)) self.buttons[i][j].grid(row=i, column=j) for i in range(size): for j in range(size): ..