Menu

#90 Missing Notebook Feature

open
nobody
Tix Source (67)
5
2007-08-02
2007-08-02
Anonymous
No

I added this to feature request but not sure if that ever gets checked.

Anyways, the 'pageconfigure' option for a Notebook is not included in Tix for python that I have. So I'll call it a 'bug'. Its also a very simple bug to fix, I haven't fully tested the functionality but adding the following two lines around line 1170 in Tix.py (in the Notebook class) seems to fix it for me. I was able to do what I wanted, which was to disable a page so you can't raise it.

def pageconfigure(self, name, cnf={}, **kw):
self.tk.call(self._w, 'pageconfigure', name, *self._options(cnf, kw))

I used the add command as a template for it since the Tix function list says they use the same command options.
Anyways, it works for me.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB