Questions tagged [tkinter-entry]

Tkinter Entry refers to a type of widget used in Tkinter (a Python standard GUI package), called the Entry widget, used to enter or display a single line of text. Not to be confused with the Text widget which is used to enter multiple lines of text. Use this tag for questions related to the Entry widget.

Tkinter Entry refers to a type of widget used in Tkinter (a Python standard GUI package), called the Entry widget, used to enter or display a single line of text. Not to be confused with the Text widget which is used to enter multiple lines of text. Use this tag for questions related to the Entry widget.

1335 questions
-3
votes
1 answer

ValueError: complex() arg is a malformed string

I have to take complex number as an input from Entry widget of tkinter and perform the conjugate operation on that complex number. I applied explicit conversion method but my code is not able to convert Entry widget string into complex number and…
varsha
  • 1
  • 1
  • 3
-3
votes
1 answer

Getting an error while inserting values from the tkinter GUi to the database

Getting an error while inserting values from the tkinter GUi to the sqlite3 database. Taking input from the user
-3
votes
3 answers

Why does my button calls a function before I click on it?

I want my function to be executed after the button press. But as I run the program the button calls the function for all the buttons before I click on them. And when I press the button, after my output is showing, none of the buttons work. Rest of…
Dinesh Roy
  • 141
  • 4
  • 12
-3
votes
1 answer

How to get value from entry (Tkinter), use it in formula and print the result it in label

When using the function entry of Tkinter, you can write a string value and do things with it; but I'm actually working with formulas. The idea is fairly simple: to put a bunch of boxes to fill with numbers (pressure, thrust, stress, temperature and…
-3
votes
1 answer

tkinter - How to get entry data in variable

I'm making a Worker Management app for a local vendor. The textvariables i have declared are not working properly. Instead of getting the inputted idNumber I'm always getting 0 on the console.(in savedata function) How to get data from my…
-3
votes
1 answer

"Master" not defined within class instance

Im trying to pass an instance of an class to which i can retrieve a function, however i keep on recieving "master" not defined when i run the program. What am i doing wrong? class MainPageGUI: def __init__(self, master): self.master =…
hiihihihelloo
  • 99
  • 2
  • 8
-3
votes
1 answer

initialising ttk.Entry in dictionary

Basically I have 8 entries I want to create in a loop and store in a dictionary, with a string as key: class foo: entries={} keys=[#some keys are here, type string] #do other stuff def create_entries(self): for key in keys: …
Schloemmel
  • 41
  • 6
-3
votes
4 answers

Create a variable from 2 Tkinter entries

I am trying to get the first three characters of a Tkinter entry, and then add them to another tkinter entry. For example: name = Entry=(root, text="Name: ") age = Entry=(root, text="Age: ") username = First three characters of name + age Then I…
-3
votes
2 answers

How to get the text of Checkbuttons?

Checkbuttons gets generated dynamically and they are getting text from a python list. I need a logic for capturing selected checkbuttons text . As per my research everywhere they are returning the state of checkbox instead of text. Please…
-3
votes
1 answer

Python Tkinter Entry List Impossible?

Is it utterly impossible to receive a list from user input in Tkinter? Something along the lines of an HTML textarea box - where a user can (1) copy and paste a list of things into a text box, and then (2) tkinter translates the input list into a…
Ksofiac
  • 382
  • 1
  • 6
  • 21
-3
votes
1 answer

why does tkinter does not recognise entry values?

first my specs: python 3.6.1 windows 10 Well, i can´t figure out why these code gives me these error: Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Juan…
-4
votes
1 answer

Button instance has no __call__ method

i want to make app in python so i have just started, i want to click button and graph should be displayed !!! But its not allowing me to do so. code snippet: from Tkinter import * import matplotlib matplotlib.use('TkAgg') from…
vihaa_vrutti
  • 271
  • 1
  • 4
  • 13
-4
votes
1 answer

Tkinter: how to get a string from a top-level entry?

In tkinter, how can I .get() the entry from a top level window? def logika(event): a=e.get() def pocetak(event): igra=Toplevel(glavni) igra.geometry("500x500+710+290") e=Entry(igra) e.pack() …
-4
votes
1 answer

Python checking a Entry isn't working

__author__ = "Jack Ashton" from tkinter import * import random window = Tk() canvas = Canvas(window, width=800, height=600, background="dark cyan") canvas.pack_propagate(False) placeholder =…
-5
votes
1 answer

Entry accept only float 8,2

I have the need with tkinter python, to define an entry field that only accepts a float field with 8 integers and 2 decimals, perhaps with an error message if it does not respect the format 8.2. You can help me define a format for this field.
pdecaro
  • 39
  • 1
  • 7
1 2 3
88
89