13.07.2015 Views

The wxPython tutorial

The wxPython tutorial

The wxPython tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Advanced widgetshttp://www.zetcode.com/wxpython/advanced/Figure: Help windowA W X . L I S T C T R L W I D G E TA wx.ListCtrl is a graphical representation of a list of items. A wx.ListBox canonly have one column. wx.ListCtrl can have more than one column.wx.ListCtrl is a very common and useful widget. For example a file manageruses a wx.ListCtrl to display directories and files on the file system. A cdburner application displays files to be burned inside a wx.ListCtrl.A wx.ListCtrl can be used in three different formats. In a list view, reportview or a icon view. <strong>The</strong>se formats are controled by the wx.ListCtrl windowstyles. wx.LC_REPORT, wx.LC_LIST and wx.LC_ICON.wx.ListCtrl(wx.Window parent, int id, wx.Point pos = (-1, -1), wx.Size size = (-1, -1),int style = wx.LC_ICON, wx.Validator validator = wx.DefaultValidator, string name = wx.ListCtrlNawx.ListCtrl styleswx.LC_LISTwx.LC_REPORTwx.LC_VIRTUALwx.LC_ICONwx.LC_SMALL_ICONwx.LC_ALIGN_LEFTwx.LC_EDIT_LABELSwx.LC_NO_HEADERwx.LC_SORT_ASCENDING10 de 21 27/04/2008 1:05

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!