Package wx :: Class BookCtrlBase
[frames | no frames]

Type BookCtrlBase

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
               Control --+
                         |
                        BookCtrlBase

Known Subclasses:
Choicebook, Listbook, Notebook

Proxy of C++ BookCtrlBase class
Method Summary
  __init__(self)
  __repr__(self)
bool AddPage(self, page, text, select, imageId)
  AdvanceSelection(self, forward)
  AssignImageList(self, imageList)
Size CalcSizeFromPage(self, sizePage)
bool DeleteAllPages(self)
bool DeletePage(self, n)
VisualAttributes GetClassDefaultAttributes(variant)
Get the default attributes for this class. (Static method)
Window GetCurrentPage(self)
ImageList GetImageList(self)
Window GetPage(self, n)
size_t GetPageCount(self)
int GetPageImage(self, n)
String GetPageText(self, n)
int GetSelection(self)
bool InsertPage(self, n, page, text, select, imageId)
bool RemovePage(self, n)
  SetImageList(self, imageList)
bool SetPageImage(self, n, imageId)
  SetPageSize(self, size)
bool SetPageText(self, n, strText)
int SetSelection(self, n)

Static Method Details

GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)

Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes.

The variant parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See wx.Window.SetWindowVariant for more about this.

Parameters:
variant
           (type=int)
Returns:
VisualAttributes

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:48 2005 http://epydoc.sf.net