tk-toolkit
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 us[详细]
2023-04-13 09:45 分类:问答Tcl/Tk Gridplus2 How to change date format
I am playing with tcl gridplusdate control, and would like to create date selector entry. It should have default value of today, and European date format: dd.mm.yyyy[详细]
2023-04-12 19:30 分类:问答unremovable text in tkinter
here is some code: from Tkinter import * class Main(object): def __init__(self): self.console = Text(root, relief=\'groove\', cursor=\'arrow\', spacing1=3)[详细]
2023-04-12 09:41 分类:问答How to implement the MVC-pattern in Tkinter
I need a basic example where MVC p开发者_开发知识库attern is used with Python TK. I have some code using Tkinter, however I would like to transform it using the MVC pattern.I know this is quite old bu[详细]
2023-04-10 01:28 分类:问答Tk, how to make a layout with .pack?
When I place two buttons in the \'top\' part of a TkRoot they are below each other. What are the parameters for \'.pack\' having them aligned horizontal?[详细]
2023-04-09 19:14 分类:问答Get selected item in listbox and call another function storing the selected for it
I have a canvas that calls createCategoryMeny(x) when it is clicked. This function just creates a Toplevel() window,[详细]
2023-04-09 12:00 分类:问答Perl Tk: confusion with updating a text window
I have a small Perl Tk app with a text window that I want to be updated in a non buffered way like I have with my log files but I can\'t get it to work due to my poor understanding of everything to do[详细]
2023-04-09 01:36 分类:问答move an existing frame to a new frame and create a new frame using old name
i\'ve used a frame in tcl named frame1 and others also. Now i set a proc to destroy all these frames. what i want to do is to move thes开发者_如何学运维e frames to a new variable and create new frames[详细]
2023-04-06 22:27 分类:问答Ruby, deploying an exe with ocra that contains the TK GUI
Ocra is unable to handle applications that require \'tk\' require \'tk\' puts \'nope\' Packing this code with[详细]
2023-04-06 10:25 分类:问答Perl Tk listbox with embeded widgets?
does anyone know if there is a type of listbox in Perl Tk that allows you to have a widget in the list? For example, I need a multi-column listbox with one of the columns containing 开发者_Python百科a[详细]
2023-04-06 10:11 分类:问答