wx.Listbook

Hi all,

I'm trying to display a Listbook but am not getting any icons
displayed. The demo works fine. Does anyone see anything wrong with
the attached? I've tried creating the imagelist first, then adding the
pages afterwards but the result is the same: I get the names of the
pages but no icons.

wxPythonGTK2 2.5.2.8
Fedora Core 2

Regards,
Cliff

dialogs.py (1.45 KB)

feeds.png

themes.png

···

--
Cliff Wells <clifford.wells@comcast.net>

Cliff Wells wrote:

Hi all,

I'm trying to display a Listbook but am not getting any icons
displayed. The demo works fine. Does anyone see anything wrong with
the attached? I've tried creating the imagelist first, then adding the
pages afterwards but the result is the same: I get the names of the
pages but no icons.

The imageId is the 4th parameter of AddPage, not the 3rd. Try this:

             self.AddPage(panel, title, imageId=idx)

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!