[Tkinter-discuss] Problem with 'cascade' and state=disabled (maybe)

Henry S. Thompson ht at inf.ed.ac.uk
Mon Feb 7 22:55:34 CET 2005


Yes, so following up my own message, I find

        if (value->typePtr == app->ProcBodyType) {
	  /* fall through: return tcl object. */
	}

in _tkinter:FromObj, which is what does the Tcl->Python conversion if
wantobjects=1

I understand that this is sometimes pbly the right thing, but
certainly _not_ for entrycget(n,'menu').

Or at least, if it _is_ right, then nametowidget should do the right
thing with the result. . .

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht at inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]


More information about the Tkinter-discuss mailing list