[Python-checkins] python/dist/src/Lib/lib-tk Tix.py,1.17,1.18

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sun Mar 21 10:26:47 EST 2004


Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17883

Modified Files:
	Tix.py 
Log Message:
Patch #853488: Add hlist entry_configure and entry_cget methods.


Index: Tix.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tix.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Tix.py	12 Feb 2004 17:35:09 -0000	1.17
--- Tix.py	21 Mar 2004 15:26:44 -0000	1.18
***************
*** 1006,1009 ****
--- 1006,1020 ----
          self.tk.call(self._w, 'item', 'delete', entry, col)
  
+     def entrycget(self, entry, opt):
+         return self.tk.call(self._w, 'entrycget', entry, opt)
+ 
+     def entryconfigure(self, entry, cnf={}, **kw):
+         if cnf is None:
+             return _lst2dict(
+                 self.tk.split(
+                 self.tk.call(self._w, 'entryconfigure', entry)))
+         self.tk.call(self._w, 'entryconfigure', entry,
+               *self._options(cnf, kw))
+ 
      def nearest(self, y):
          return self.tk.call(self._w, 'nearest', y)




More information about the Python-checkins mailing list