Author gpolo
Recipients georg.brandl, gpolo, loewis, mkiever, ocean-city
Date 2009-01-02.20:57:14
SpamBayes Score 0.000248432
Marked as misclassified No
Message-id <1230929835.46.0.72373290614.issue1135@psf.upfronthosting.co.za>
In-reply-to
Content
I would actually prefer to move xview and yview method to classes like
it was done in xview_yview.patch (I've done this on a personal branch
some time ago too, but named them as XScroll, YScroll), we can see they
are used in several places in Tkinter, Tix and other extensions, and we
are just duplicating code for them all the time.

Also, what I would prefer to see in place of this:

if not args:
    return self._getdoubles(self.tk.call(self._w, 'xview'))
self.tk.call((self._w, 'xview') + args)

would be this:

res = self.tk.call(self._w, 'xview', *args)
if args:
    return self._getdoubles(res)
History
Date User Action Args
2009-01-02 20:57:15gpolosetrecipients: + gpolo, loewis, georg.brandl, ocean-city, mkiever
2009-01-02 20:57:15gpolosetmessageid: <1230929835.46.0.72373290614.issue1135@psf.upfronthosting.co.za>
2009-01-02 20:57:14gpololinkissue1135 messages
2009-01-02 20:57:14gpolocreate