Questions tagged [tkentry]
7 questions
2
votes
2 answers
Fatal Error in R when using tcltk::tkentry
I recently upgraded my R to 4.0.1 from 3.4.1 because I needed to use the TSP package and hadn't updated R in a while. TSP only requires greater than 3.5.0 but I figured I would install the latest version, right?
Now, I'm trying to run code I use…

Sescopeland
- 315
- 2
- 16
1
vote
1 answer
How to make a window return value when closed in Tcl/Tk
I have a proc that creates a new window, asking the user to give a database name.. And I want the function, after it's closed to return a value.
How do I make a window to return a value to it's calling proc? I tried calling it using:
puts "dbug::…

SIMEL
- 8,745
- 28
- 84
- 130
1
vote
1 answer
Tcl/Tk: entry button - getting values into entry without passing entry
I am implementing an entry and button with the following functionality. On clicking the button I will get a list of check buttons. After selecting check buttons they should get reflected in the entry. The following is my implementation. The one…

Anand
- 1,122
- 3
- 20
- 33
1
vote
1 answer
How to print only the quantity of the checked box buttons
So, I have receipt section on my project which will print out all the list of food on my page.
But I just want this to print only the quantity of the checked box. Here's my code.
def Receipt():
txtReceipt.insert(END,' \t\t *FAST FOOD CAFE*…

rgsummer
- 11
- 2
0
votes
1 answer
Tcl/Tk: entry + listbox : how to convert it to a widget?
I adapted code from Brent Welch's book so that my entry box can be filled using listbox. Can the code listed below be improved upon? Also, I want to convert this code into a widget so that any one using the code base can reuse it. What do I need to…

Anand
- 1,122
- 3
- 20
- 33
0
votes
1 answer
Tkinter create notebook page with if loop
I got a program that read an HTML template and search for variables and create for each variable a text entry field. But I want this entry fields in Notebook pages but atm it just create one Notebook page from the last variable.
How do I do…

Victor Vincent
- 15
- 9
0
votes
1 answer
perl tk text: cannot get text content into variable
All I wanted is a multiline text entry.
So I used TK::Text instead of TK::Entry.
use Tk;
my $mw = MainWindow->new(-width => '1000', -relief => 'flat',
-height => '840', -title => 'Test', -background => 'white', ); …

AJ Gottes
- 401
- 1
- 3
- 15