- "and the tabs can be on any side... (look below.)",
- wxPoint(10, 10))
- st.SetForegroundColour(wxWHITE)
- st.SetBackgroundColour(wxBLUE)
+ "and if the platform supports it then the\n"
+ "tabs can be on any side of the notebook.",
+ (10, 10))
+
+ st.SetForegroundColour(wx.WHITE)
+ st.SetBackgroundColour(wx.BLUE)
+
+ # Show how to put an image on one of the notebook tabs,
+ # first make the image list:
+ il = wx.ImageList(16, 16)
+ idx1 = il.Add(images.getSmilesBitmap())
+ self.AssignImageList(il)
+
+ # now put an image on the first tab we just created:
+ self.SetPageImage(0, idx1)
+