[Tkinter-discuss] class_ attribute on ttk widgets

2013-03-30 Thread Alejandro Autalan
Hello all. I'm reading the tkinter reference at http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html. It says that the 'class_' attribute is available for ttk widgets. But when is set, some widgets become unresponsive. Example: #uname -a Linux vostro1 3.2.0-4-amd64 #1 SMP Debian 3.2

Re: [Tkinter-discuss] class_ attribute on ttk widgets

2013-03-31 Thread Alejandro Autalan
nt set of bindings for a widget. > > --bryan > > > On Mar 31, 2013, at 1:58 AM, Alejandro Autalan > wrote: > ___ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkin

[Tkinter-discuss] Strange 'tate' option in ttk.Treeview.heading

2013-04-11 Thread Alejandro Autalan
Hello, I'm getting an strange 'tate' property when calling treeview.heading() function. Here is an example: #- import sys import tkinter as tk import tkinter.ttk as ttk print('Python version:', sys.version_info) print('tk version:', tk.TkVersion) print('ttk version:', ttk.__version__) root

Re: [Tkinter-discuss] Strange 'tate' option in ttk.Treeview.heading

2013-04-11 Thread Alejandro Autalan
2013/4/11 Jeff Epler : > This is an upstream bug in Tk which appears to still be present in their > development version. There's supposed to be a "-state" property of > treeview columns, but the "-" is missing. Python always removes the > first character in its configure-type interfaces, so you g

[Tkinter-discuss] tkinter gui builder

2013-04-30 Thread Alejandro Autalan
Hello all, I'm working on a simple gui builder for tkinter similar to Glade (the gtk builder). It is Not finished yet and there is little documentation. However, I invite you to try it and comment or make suggestions. There are some examples that you can follow. I named it pygubu, the code is he

Re: [Tkinter-discuss] tkinter extensions

2013-05-18 Thread Alejandro Autalan
2013/5/18 Beinan Li : > Hi Tkinter, > > I'm new to the list and have to confess that I'm a newbie > that needs recommendations on high-level (compound) widgets based on > tkinter. > As far as I understand, I assume ttk has quite a number of high-level > widgets such as notebook, > but the inventory

Re: [Tkinter-discuss] Menu Problem

2013-05-30 Thread Alejandro Autalan
2013/5/30 Paul Malherbe > Hi > > I hope someone can help me with the following problem: > > I have attached a menu class which is part of a project I have written. > > As my main menu names can be multiple lines I am using the image facility, > without text, of Menu. However I cannot get an acce

Re: [Tkinter-discuss] How to enable/disable a menu?

2014-05-13 Thread Alejandro Autalan
2014-05-13 15:51 GMT-03:00 Alan Gauld : > I have an app with a tabbed notebook. I want to > only enable one of the main menus when the appropriate > tab is selected. When the tab is deselected I want > to disable the menu again. > > I can't see any obvious properties in the Menu > object. I can mes

Re: [Tkinter-discuss] Change menubar color?

2014-10-27 Thread Alejandro Autalan
2014-10-27 17:10 GMT-03:00 Juan Christian : > I have this simple code: > > from tkinter import * > > root = Tk() > root.title("Steam Trader") > root.minsize(500, 800) > root.maxsize(500, 0) > > menubar = Menu(root) > filemenu = Menu(menubar, tearoff=0) > filemenu.add_command(label="Open", command=

Re: [Tkinter-discuss] Pack labels

2023-01-16 Thread Alejandro Autalan
El lun, 16 ene 2023 a las 12:37, AI 7 () escribió: > Hi, I am creating a booking system where one of the functions is to > retrieve bookings from a text file and display to the user. The text file > stores each booking on a new line with all its fields. A loop is made > through the array when the