Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~13.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for davidbr

I have this code which open a frame, count 5 seconds and then open another frame. Here i have some buttons that should open different frames but they all open same second frame that is already opened by counter. I don t get it why is this happen. Any idea …

Member Avatar for Gribouillis
0
470
Member Avatar for davidbr

I have this code which if i press msgbox yes it opens another frame but if i do same thing from another function (counter) i get an error. Can someone help me and tell what is wrong? import tkMessageBox import Tkinter as tk from Tkinter import * from functools import …

Member Avatar for sepp2k
0
206
Member Avatar for davidbr

Hello, I have this code which is working import Tkinter as tk from Tkinter import * LARGE_FONT= ("Verdana", 12) class ChangePages(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) container = tk.Frame(self) container.pack() container.grid_rowconfigure(0, weight=1) container.grid_columnconfigure(0, weight=1) self.frames = {} for F in (MainPage, Page01, Page02): frame = F(container, self) self.frames[F] …

Member Avatar for davidbr
0
4K
Member Avatar for davidbr

Hi, I am looking for a little example of making a window visible or invisible. I have a main window with 2 buttons (option1 and option2). If i press option one i open a new window with something else but i want that keep stored in a variable that i …

Member Avatar for vegaseat
0
367
Member Avatar for davidbr

Hi, I have this def update_labelain0_val(self): val=get_ain0() self.labelain0_val.set(val) self.labelain0.config(bg="#32CD32") #0-12.9v -> 0-6000N valain0=float(val) valain0_calc=valain0*6000/12.9 valain0_calc=int(valain0_calc) self.labelain0_calc.set(valain0_calc) self.labelain0calc.config(bg="#FF8C00") threading.Timer(0.1, self.update_labelain0_val).start() return This is part of a class which update a label in a window. It is working fine. My problem is : how can i give a variable name o this …

Member Avatar for Gribouillis
0
217
Member Avatar for davidbr

Hi, I wrote a small app which have some different pages but now i have a problem with update dynamically a label text from one of the pages. I would highly appreciate if anyone can have a look and maybe help me... I want to update self.label1 from pag01 class …

Member Avatar for davidbr
0
8K