Recipes about Controls
This section of the wxPython Cookbook contains recipes about various wxPython controls. Look here for "how-to" documents showing what various controls do and how best to use them.
If you can't find what you're looking for then please consider figuring it out and then writing a recipe for the Cookbook so others won't have to go through the same pain you did.
You can use a copy of this CookbookTemplate as a starting point for the recipes you add.
General Control Recipes
BuildingControls CreatingCollectionOfControls Custom Mac OsX Dock Bar Icon FocusingControlsWithTheirLabels LayingOutElements OfficeWebComponents TwoStageCreation User Help Controls UsingSizers
Specific Control Recipes
ActiveX wx.lib.iewin AuiNotebook AuiNotebook (AGW) Choicebook Combobox Combo Box that Suggests Options ManipulatingComboBoxItems FlatNotebook (AGW) Gauge wxGauge Widget GenDirDialog GenericDirCtrl w/ Add/Remove Directory support Grid Controls AppendingGridTable Change wxGrid CheckBox with one click DrawingOnGridColumnLabel UpdatingGridData wxGrid ToolTips wxGridCellChoiceEditor wxGridCellChoiceEditor2 HtmlWindow HtmlWindow (wxHTML) Listbook ListBox MozillaStyleListBox TypeSelectListBox (based on MozillaStyleListBox; adds reset timer) ListControls Refillable List Control wxListCtrl ToolTips MessageBoxes GenericMessageDialog Menus WorkingWithMenus ObjectListView Notebooks ResizableNotebookDialog Simple wx.Notebook Example Using a wxPython 'Notebook' with panels PopupMenuOnRightClick ScrolledWindows Splitters ProportionalSplitterWindow SplitterExample StaticBitmap wxStaticBitmap Static Boxes WorkingWithStaticBoxes Text Controls TextCtrlAutoComplete Using Python Regular Expressions with StyledTextCtrl Toolbook Treebook TreeCtrl TreeCtrlDnD Toolbars WorkingWithToolBars TreeControls TraversingwxTree Validators Data-aware Controls with Validators, demonstrated in a dialog Data-aware Controls with Validators, Note 1 Creating Validators Based on State Machines, Part I Creating Validators Based on State Machines, Part II Creating Validators Based on State Machines, Part III Creating Validators Based on State Machines, Part IV Validator for Object Attributes wx.Window WorkingWithWindows wxWizard An Alternative to wxWizard wxGTKWebKit
Recipes are now categorized by sections. Please feel free to add your own recipes to any section, or even add a completely new section if appropriate. - Robin Munn
Recipes are now in alphabetical order by link title and I stuck them in two sections: General and Specific recipes. Try to keep widget specific ones in the second category. - MikeDriscoll
RecipesControls (last edited 2010-08-03 13:42:39 by 216)
NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.