the wxpython gui library windows such as frames and dialogs have component hierarchy that is used (amongst other thingsto determine how and when elements of the window are drawn and redrawn the component hierarchy is rooted with the framewithin which components and containers can be added the above figure illustrates component hierarchy for framewith two container panels and few basic widgets/ui components held within the panels note that panel can contain another sub panel with different widgets in wxpython modules the wxpython library is comprised of many different modules these modules provide different features from the core wx module to the html oriented wx html and wx html modules these modules includewx which holds the core widgets and classes in the wx library wx adv that provides less commonly used or more advanced widgets and classes wx grid contains widgets and classes supporting the display and editing of tabular data wx richtext consists of widgets and classes used for displaying multiple text styles and images wx html comprises widgets and supporting classes for generic html renderer wx html provides further widget and supporting classes for native html rendererwith css and javascript support