[Python-checkins] python/dist/src/Demo/tix tixwidgets.py,1.9,1.10 BUGS.txt,1.1,NONE

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Mon, 30 Dec 2002 15:52:03 -0800


Update of /cvsroot/python/python/dist/src/Demo/tix
In directory sc8-pr-cvs1:/tmp/cvs-serv16864/Demo/tix

Modified Files:
	tixwidgets.py 
Removed Files:
	BUGS.txt 
Log Message:
Tix update from Mike Clarkson (maintainer)

Index: tixwidgets.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/tix/tixwidgets.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** tixwidgets.py	10 Dec 2002 02:18:49 -0000	1.9
--- tixwidgets.py	30 Dec 2002 23:52:00 -0000	1.10
***************
*** 561,564 ****
--- 561,567 ----
      bot.pack(fill=Tix.BOTH)
  
+     win.bind('<Map>', func=lambda arg=0, rh=rh, win=win:
+ 	     win.tk.call('tixDoWhenIdle', str(rh), 'attachwidget', str(win)))
+ 
  def SWindow_reset(rh, win):
      win.place(x=30, y=150, width=190, height=120)
***************
*** 576,581 ****
  
      win = Tix.ScrolledText(top, scrollbar='auto')
! #    win.text['wrap'] = 'none'
!     win.text.insert(Tix.END, 'This is a text widget embedded in a scrolled window. Although the original Tix demo does not have any text here, I decided to put in some so that you can see the effect of scrollbars etc.')
      win.place(x=30, y=150, width=190, height=100)
  
--- 579,594 ----
  
      win = Tix.ScrolledText(top, scrollbar='auto')
!     win.text['wrap'] = 'none'
!     win.text.insert(Tix.END, '''When -scrollbar is set to "auto", the
! scrollbars are shown only when needed. 
! Additional modifiers can be used to force a
! scrollbar to be shown or hidden. For example, 
! "auto -y" means the horizontal scrollbar 
! should be shown when needed but the vertical 
! scrollbar should always be hidden;
! "auto +x" means the vertical scrollbar
! should be shown when needed but the horizontal 
! scrollbar should always be shown, and so on.'''
! )
      win.place(x=30, y=150, width=190, height=100)
  

--- BUGS.txt DELETED ---