TabCtrl.TabCtrl Class Reference

List of all members.

Public Member Functions

  __init__ ()
  The arguments coming in: self, parent, id, position, size, ...
  SetFont ()
  DeleteAllItems ()
  Deletes all tab items.
  DeleteItem ()
  Deletes the specified tab item.
  GetItemCount ()
  Returns the number of tabs in the tab control.
  GetItemData ()
  Returns the client data for the given tab.
  GetItemRect ()
  Returns the rectangle bounding the given tab (as a wxRect).
  GetItemText ()
  Returns the string for the given tab.
  GetRowCount ()
  Returns the number of rows in the tab control.
  GetSelection ()
  Returns the index for the currently selected tab.
  InsertItem ()
  Inserts a new tab at index *item* with the given *text* and *clientData*.
  SetItemData ()
  Sets the client data for a tab.
  SetItemText ()
  Sets the text for a given tab.
  SetMinTabWidth ()
  The default minimum tab width is pretty big.
  SetSelection ()
  Sets the selection to the given tab, returning the index of the previously selected tab.
  GetCurFocus ()
  GetImageList ()
  GetItemImage ()
  HitTest ()
  SetItemImage ()
  SetImageList ()
  SetItemSize ()
  SetPadding ()

Member Function Documentation

TabCtrl.TabCtrl.__init__ ( )

The arguments coming in: self, parent, id, position, size, ...

TabCtrl.TabCtrl.SetFont ( )
TabCtrl.TabCtrl.DeleteAllItems ( )

Deletes all tab items.

TabCtrl.TabCtrl.DeleteItem ( )

Deletes the specified tab item.

TabCtrl.TabCtrl.GetItemCount ( )

Returns the number of tabs in the tab control.

TabCtrl.TabCtrl.GetItemData ( )

Returns the client data for the given tab.

TabCtrl.TabCtrl.GetItemRect ( )

Returns the rectangle bounding the given tab (as a wxRect).

TabCtrl.TabCtrl.GetItemText ( )

Returns the string for the given tab.

TabCtrl.TabCtrl.GetRowCount ( )

Returns the number of rows in the tab control.

Currently this number is always 1.

TabCtrl.TabCtrl.GetSelection ( )

Returns the index for the currently selected tab.

TabCtrl.TabCtrl.InsertItem ( )

Inserts a new tab at index *item* with the given *text* and *clientData*.

TabCtrl.TabCtrl.SetItemData ( )

Sets the client data for a tab.

TabCtrl.TabCtrl.SetItemText ( )

Sets the text for a given tab.

TabCtrl.TabCtrl.SetMinTabWidth ( )

The default minimum tab width is pretty big.

If you need to squeeze a notebook or a tab control into a small space, you'll want to use this method to shrink the tabs.

TabCtrl.TabCtrl.SetSelection ( )

Sets the selection to the given tab, returning the index of the previously selected tab.

Returns -1 if the call was unsuccessful.

TabCtrl.TabCtrl.GetCurFocus ( )
TabCtrl.TabCtrl.GetImageList ( )
TabCtrl.TabCtrl.GetItemImage ( )
TabCtrl.TabCtrl.HitTest ( )
TabCtrl.TabCtrl.SetItemImage ( )
TabCtrl.TabCtrl.SetImageList ( )
TabCtrl.TabCtrl.SetItemSize ( )
TabCtrl.TabCtrl.SetPadding ( )

TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl
TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl TabCtrl.TabCtrl