Questions tagged [tix]

Tix is a Tkinter Interface Extension module, which includes new widgets that are not included in the standard Tk library.

Tix (Tk Interface Extension) is a module which includes a rich set of new widgets that are not included in the standard Tk library.

Basic widgets

File Selectors

Hierarchical ListBox

Tabular ListBox

Manager Widgets

Image Types

Miscellaneous Widgets

Form Geometry Manager

67 questions
2
votes
3 answers

_tkinter TclError: can't find package Tix

A friend sent me some Tkinter/Tix code, but it was for Python 2: from Tkinter import * import Tix import ScrolledText I have Python 3, I have no Tix installed, and program crashes. After some searching I've changed the code to: from tkinter…
Safiron
  • 883
  • 4
  • 11
  • 30
2
votes
2 answers

Trouble finding the default packages shipped with Python on Snow Leopard

I have two questions. First, how can I find out what Python modules (and their versions) come with Mac OS-X 10.6.8 Snow Leopard? Second, what is the deal with Snow Leopard and Tix? I absolutely cannot understand this. If I import Tix, no errors. …
Dave Brunker
  • 1,559
  • 5
  • 15
  • 23
2
votes
1 answer

Scrolling with mouse in tix.ScrolledWindow

Is it possible to make the ScrolledWindow respond to the mouse's scroll wheel? When I scroll the mouse wheel, it currently does nothing, but it is a huge minus for the usability when the user has to manually click and drag the scrollbar. The…
Ouverflou
  • 51
  • 4
2
votes
0 answers

Setting a default status bar message using Tix.Balloon

I am currently trying to use a Tix.Balloon to create a tooltip and a help statusbar for options within a graphical user interface. And it works pretty much as intended. However I would like the statusbar to show a message for when the mouse is not…
David Duncan
  • 81
  • 1
  • 11
2
votes
2 answers

How to update a Tix.ComboBox's text?

I have a Tix.ComboBox with an editable text field. How do I force the variable holding the value for the text to update? Let me give a more concrete explanation. I have a combo box and a button. When I click the button, it pops up a message box with…
Moe
  • 28,607
  • 10
  • 51
  • 67
1
vote
1 answer

How to use tix balloon on a function event?

I have a program that will count the index length of a highlighted area. I wanted to use tix balloon to show the the result. But in order to use the tix balloon, it required me bind it to the a widget. Instead of binding it to a whole widget, I only…
1
vote
0 answers

Tix CheckList calls listener twice

I wrote a small class by tutorial to use CheckList but when I select/deselect some item it calls on_item_selected twice: class View(object): def __init__(self, root, db): self.root = root self.cl = None self.db = db …
Denis Sologub
  • 7,277
  • 11
  • 56
  • 123
1
vote
0 answers

How do I display the contain of a zipped file from my directory

I have a zipped file with multiple text files in it, and I am building a GUI where I would display the content of the zipped file. So far with the code below it only shows the example.zip folder, but not what's inside. How can I get it to show the…
LeStivi
  • 31
  • 5
1
vote
1 answer

python 2.7 tix checklist text properties

I currently have a Checklist that has several levels and sub-levels. I am trying to change the text color and text properties of individual lines in the checklist, however, I am unable to find any information on this. All I can find is how to alter…
1
vote
3 answers

Autocheck children items in Tix with Python using CheckList and Hlist

I am writing a small program in Python using Tix that builds and displays a tree view of certain folders (only the ones having a certain xml file in them) with checkbox capabilities. Every Item is a folder or subfolder that can be selected…
Jorge
  • 1,350
  • 2
  • 10
  • 19
1
vote
1 answer

Get value from a ComboBox using tix, Tkinter

I generated my GUI using Tkinter package. It has some entries that I created with these commands self.tent = Entry(self.side_options_frame) self.tent.pack(padx=5, pady=6) Then, I decided to add ComboBox, and I do not want to use ttk package, so I…
Hamid K
  • 983
  • 1
  • 18
  • 40
1
vote
1 answer

python Tix - how to clear a combobox

how do I clear all the items in a Tix.ComboBox object? I tried things like cb.entry.delete (0, Tix.END) and other veriations of this function but it doesn't seem to do anything. also its not clear from the API which function I should use and the…
Ronen Ness
  • 9,923
  • 4
  • 33
  • 50
1
vote
1 answer

Python Tkinter Tix: How to use ScrolledWindow with grid in Tix NoteBook

I'm adding several widgets to a Frame which is located in a tix.NoteBook. When there are too much widgets to fit in the window, I want to use a scrollbar, so I put tix.ScrolledWindow inside that Frame and add my widgets to this ScrolledWindow…
Sano98
  • 419
  • 2
  • 7
  • 17
1
vote
1 answer

How to use tix.DirSelectDialog?

As an alternative to tkinter.filedialog.askdirectory I stumbled upon tix.DirSelectDialog. Sadly I just don't get how to use it. I found out that there is an __init__(self, master) method but I especially don't know what "self" should be. My goal is…
S818
  • 391
  • 3
  • 15
1
vote
1 answer

How to change the background color for tix.Balloon message?

I've been pulling my hair out for this one... I've configured my tkinter app to use tix, so that I can leverage the Balloon widget for tooltips. However, the balloonmsg that pops up is a very hideous yellow, and for the life of me I can't figure…
Jason K.
  • 55
  • 10