~ Mayank Johri's Tips ~

January 12, 2008

Setting ColumnWidth of wx.ListView control in python

Filed under: Development, Python — mayankjohri @ 3:10 pm
Tags: ,
# Get the size of listView Control
w = self.lvMountPoint.GetSize()
# Set the ColumnWidth
self.lvMountPoint.SetColumnWidth(0,w[0] * 0.81)
self.lvMountPoint.SetColumnWidth(1,w[0] * 0.19)

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.