- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 16
- Posts with Downvotes
- 8
- Downvoting Members
- 7
15 Posted Topics
Re: Would you know how to do that using the Tkinter buttons? Is using self a bad thing when dealing with the buttons. Editor's note: Sorry, put that into the wrong post! [I]BTW, this is a tiny calculator using a small footprint and short code. You can add more features, but … | |
Hey all, I'm currently making a button so that when i click on it, it shows the number of that button in an [B]Entry Screen[/B]. If you can help me it would be great. Thanks again! :) [CODE]def createSeven(self): top=self.winfo_toplevel() top.rowconfigure(0, weight=1) top.columnconfigure(0, weight=1) self.rowconfigure(0, weight=1) self.columnconfigure(0, weight=1) self.Button = … | |
![]() | Re: hey, i think you need to put in self... [CODE]submenu.add_command(label="Speak please",command=self.toggle)[/CODE] it should work after that :) |
Hello all, just making a quick check to see if anyone can help me fix my code. I need to show the result in an entry screen... [CODE]# Tkinter class template to test apps try: # Python2 import Tkinter as tk except ImportError: # Python3 import tkinter as tk class … | |
im currently trying to create a button widget using Tkiner and would like to know how to get a number from that button when i click on it. I have tried lots of methods and ideas from different people and i still haven't got the right bit of code. any … | |
![]() | Re: i think you like need to put in... [CODE]self.steakVar = IntVar() self.mb.menu.add_command(label="Blah Blah Blah", command=self.pop up another window)[/CODE] below each option but obviously change the name of the thing |
Hey people, i was just wondering if anyone knew the code to make a tkinter button... [CODE]def createExample(self): top=self.winfo_toplevel() top.rowconfigure(0, weight=1) top.columnconfigure(0, weight=1) self.rowconfigure(0, weight=1) self.columnconfigure(0, weight=1) self.Button = Button ( self, text=" Example", font=("Arial", 12), bg="white", fg="magenta", cursor="crosshair") self.Button.grid(row=1, column=0, sticky=N+E+S+W)[/CODE] ...and i wanted to know the code that … | |
just need some advice on making a list containing values for Tkinter buttons. thankyou :) | |
Re: its probobly a just a spelling error :) I said "PROBOBLY" | |
Re: can you get any help from your teacher? | |
hey all. i need some help with my calculator and i was wondering if anyone knew how to make it so if you click on a button it would pop up the value of that button in the entry screen. [CODE]## -*- coding: utf-8 -*- ## SDD, Major Project, Extreme … | |
Does anyone know the code to click a button widget and get the value of that button to show up on an entry screen. I'll show you my code. [CODE]class Application(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.grid() self.createEdit() self.createView() self.createHelp() self.createQuit() self.createOnOff() self.createDelete() self.createClear() self.createSeven() self.createEight() self.createNine() self.createDivide() self.createFour() self.createFive() … | |
hey guys, girls, others. i have a pop down widget and one of the options in the pop down screen is "Exit" which means quit. I want to know the code for clicking that "Exit" option and then it Quiting the whole program. here is my code for the pop … | |
![]() |
The End.