Update of /cvsroot/ap-python/python/examples/aptk
In directory usw-pr-cvs1:/tmp/cvs-serv12226/examples/aptk
Modified Files:
panel.py playlist.py
Log Message:
Make columns reoraderable. Change selection mode to SELECTION_MULTIPLE. Add song changing by
double clicking on the situated row. Show currently playing song with a mark in the CURRENT column.
Index: panel.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/aptk/panel.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** panel.py 23 Jul 2002 09:03:25 -0000 1.7
--- panel.py 24 Jul 2002 07:04:48 -0000 1.8
***************
*** 50,58 ****
('.pan.center.button.file', 'c_pan.xpm'),
('.pan.right.button.file', 'r_pan.xpm'),
! ('.control.playlist.list.columns', ('playtime', 'track', 'title',
'album', 'artist', 'year',
'genre', 'filename')),
('.control.playlist.list.playtime.file', 'playtime.xpm'),
! ('.control.playlist.list.track.file', 'track.xpm')
])
--- 50,59 ----
('.pan.center.button.file', 'c_pan.xpm'),
('.pan.right.button.file', 'r_pan.xpm'),
! ('.control.playlist.list.columns', ('current', 'playtime', 'track', 'title',
'album', 'artist', 'year',
'genre', 'filename')),
('.control.playlist.list.playtime.file', 'playtime.xpm'),
! ('.control.playlist.list.track.file', 'track.xpm'),
! ('.playlist.list.mark.file', 'current_play.xpm')
])
***************
*** 86,89 ****
--- 87,91 ----
control.show ()
control_frame.show ()
+ control_frame.set_border_width (1)
hbox.show ()
Index: playlist.py
===================================================================
RCS file: /cvsroot/ap-python/python/examples/aptk/playlist.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** playlist.py 23 Jul 2002 09:03:25 -0000 1.6
--- playlist.py 24 Jul 2002 07:04:48 -0000 1.7
***************
*** 33,41 ****
# Properties
properties = aptk.misc.WidgetProperties ([
! ('.playlist.list.columns', ('playtime', 'track', 'title',
'album', 'artist', 'year',
'genre', 'filename')),
('.playlist.list.playtime.file', 'playtime.xpm'),
! ('.playlist.list.track.file', 'track.xpm')
])
--- 33,42 ----
# Properties
properties = aptk.misc.WidgetProperties ([
! ('.playlist.list.columns', ('current', 'playtime', 'track', 'title',
'album', 'artist', 'year',
'genre', 'filename')),
('.playlist.list.playtime.file', 'playtime.xpm'),
! ('.playlist.list.track.file', 'track.xpm'),
! ('.playlist.list.mark.file', 'current_play.xpm')
])
|