Skip to content

Commit e895014

Browse files
added a slide on hierarchies
1 parent 1f1764f commit e895014

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

week-09/presentation-week09.pdf

2.02 KB
Binary file not shown.

week-09/presentation-week09.tex

+29
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,35 @@ \section{controls}
785785

786786
\end{frame}
787787

788+
%-------------------------------
789+
\begin{frame}[fragile]{Hierarchies...}
790+
791+
{\Large wxPython has multiple independent hierarchies ...}\\
792+
793+
\vfill
794+
{\large The nested parent-child relationship:}
795+
\begin{itemize}
796+
\item every \verb`wx.Window` has a parent
797+
\item every \verb`wx.Window` has zero or more children
798+
\end{itemize}
799+
800+
{\large The class Hierarchy}
801+
\begin{itemize}
802+
\item super-sub classes of \verb`wx.Window`
803+
\item classes with instances as attributes
804+
\end{itemize}
805+
806+
{\large The Layout Hierarchy}
807+
\begin{itemize}
808+
\item Sizers within Sizers...
809+
\item Arbitrarily deep.
810+
\end{itemize}
811+
812+
\vfill
813+
{\large Each of these takes care of different concerns:\\
814+
confusing but powerful}
815+
\end{frame}
816+
788817

789818
%-------------------------------
790819
\begin{frame}[fragile]{Accessing inputs}

0 commit comments

Comments
 (0)