Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread Abdur-Rahmaan Janhangeer
Did it but that's €=€$/€*#£4×53@ Abdur-Rahmaan Janhangeer Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread MRAB
On 2019-07-08 03:05, Abdur-Rahmaan Janhangeer wrote: You mean we should create the image variables aside like one for each button? XD. Thanks! You need to ensure that there's a reference somewhere to every image that you're displaying, whether it's on a button or some other widget, because tk

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread Abdur-Rahmaan Janhangeer
You mean we should create the image variables aside like one for each button? XD. Thanks! Abdur-Rahmaan Janhangeer Mauritius -- https://mail.python.org/mailman/listinfo/python-list

Re: Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread MRAB
On 2019-07-07 19:28, Abdur-Rahmaan Janhangeer wrote: Greetings, i have this snippet: --- import json import os from tkinter import * from tkinter.ttk import * root = Tk() jload = json.load buttons = list() programs = os.listdir('programs') for i, program in enumerate(programs): jsonpath = '

Images on Dynamically Generated Buttons Glitch

2019-07-07 Thread Abdur-Rahmaan Janhangeer
Greetings, i have this snippet: --- import json import os from tkinter import * from tkinter.ttk import * root = Tk() jload = json.load buttons = list() programs = os.listdir('programs') for i, program in enumerate(programs): jsonpath = 'programs/{}/cmdlaunch.json'.format(program) info = j