\section{Tk\-Container Class Reference}
\label{class_tk_container}\index{TkContainer@{TkContainer}}
Base widget container.  


{\tt \#include $<$tk\_\-container.h$>$}

Inheritance diagram for Tk\-Container::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12cm]{class_tk_container}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Tk\-Base} $\ast$ {\bf get\-Child\-By\-Coord} (int root\-X, int root\-Y)
\item 
{\bf Tk\-Base} $\ast$ {\bf get\-Child\-By\-Name} (const string \&name)
\item 
void {\bf add\-Child} ({\bf Tk\-Base} $\ast$object, {\bf TObject} $\ast$constraints)
\item 
void {\bf create} ()\label{class_tk_container_21140cdbfc5adac008803f2a52633d13}

\begin{CompactList}\small\item\em Creates widget in shell. \item\end{CompactList}\item 
void {\bf do\-Layout} ()
\item 
void {\bf remove\-All} ()
\item 
void {\bf remove\-Child} ({\bf Tk\-Base} $\ast$object)
\item 
void {\bf set\-Layout\-Manager} ({\bf Tk\-Layout} $\ast$manager)
\item 
{\bf Tk\-Layout} $\ast$ {\bf get\-Layout\-Manager} ()
\item 
{\bf Ptr}$<$ {\bf Tcl\-String\-Var} $>$ \& {\bf get\-Radio\-Group\-By\-Name} (const string \&name)
\end{CompactItemize}


\subsection{Detailed Description}
Base widget container. 

\begin{Desc}
\item[Date:]01-12-2006\end{Desc}
\begin{Desc}
\item[Author:]Ondrej Svejdar\end{Desc}
\begin{Desc}
\item[{\bf Todo}]\end{Desc}
\begin{Desc}
\item[{\bf Bug}]\end{Desc}




\subsection{Member Function Documentation}
\index{TkContainer@{Tk\-Container}!addChild@{addChild}}
\index{addChild@{addChild}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Container::add\-Child ({\bf Tk\-Base} $\ast$ {\em object}, {\bf TObject} $\ast$ {\em constraints})}\label{class_tk_container_2af13d82e5ec841967da7f39accc825f}


Add child widget to conteiner \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em object}]child widget \item[{\em constraints}]layout constraints for this widget \end{description}
\end{Desc}
\index{TkContainer@{Tk\-Container}!doLayout@{doLayout}}
\index{doLayout@{doLayout}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Container::do\-Layout ()}\label{class_tk_container_2ade061455ce4c872d9372b1a31b881d}


Start doing layout (layout manager must be set) \index{TkContainer@{Tk\-Container}!getChildByCoord@{getChildByCoord}}
\index{getChildByCoord@{getChildByCoord}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Tk\-Base} $\ast$ Tk\-Container::get\-Child\-By\-Coord (int {\em root\-X}, int {\em root\-Y})}\label{class_tk_container_9909ad2cc015d4db80f40483fccea6af}


Returns pointer to widget at coordinates [root\-X,root\-Y] \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em root\-X}]x coordinate \item[{\em root\-Y}]y coordinate \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]pointer to widget \end{Desc}
\index{TkContainer@{Tk\-Container}!getChildByName@{getChildByName}}
\index{getChildByName@{getChildByName}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Tk\-Base} $\ast$ Tk\-Container::get\-Child\-By\-Name (const string \& {\em name})}\label{class_tk_container_21b1b78dc3540181d08e1e3020ff91f0}


Returns pointer to widget with user-defined name name \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]name of widget \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]pointer to widget or NULL if no such widget exist \end{Desc}
\index{TkContainer@{Tk\-Container}!getLayoutManager@{getLayoutManager}}
\index{getLayoutManager@{getLayoutManager}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Tk\-Layout} $\ast$ Tk\-Container::get\-Layout\-Manager ()}\label{class_tk_container_fa0cee604b0a95a60070d3074aefde7d}


Returns active layout manager \begin{Desc}
\item[Returns:]layout manager \end{Desc}
\index{TkContainer@{Tk\-Container}!getRadioGroupByName@{getRadioGroupByName}}
\index{getRadioGroupByName@{getRadioGroupByName}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ptr}$<$ {\bf Tcl\-String\-Var} $>$ \& Tk\-Container::get\-Radio\-Group\-By\-Name (const string \& {\em name})}\label{class_tk_container_473240927163200ab4dadccceb332b62}


Returns (or create) shell variable, representing radiobutton group \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]name of group \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]reference to variable \end{Desc}
\index{TkContainer@{Tk\-Container}!removeAll@{removeAll}}
\index{removeAll@{removeAll}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Container::remove\-All ()}\label{class_tk_container_ae13df31de97c5582217357f8d8d956f}


Remove all child widgets \index{TkContainer@{Tk\-Container}!removeChild@{removeChild}}
\index{removeChild@{removeChild}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Container::remove\-Child ({\bf Tk\-Base} $\ast$ {\em object})}\label{class_tk_container_884d7753e1ab7432626fa621f10d253f}


Remove specific child widget \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em object}]widget to remove \end{description}
\end{Desc}
\index{TkContainer@{Tk\-Container}!setLayoutManager@{setLayoutManager}}
\index{setLayoutManager@{setLayoutManager}!TkContainer@{Tk\-Container}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Container::set\-Layout\-Manager ({\bf Tk\-Layout} $\ast$ {\em manager})}\label{class_tk_container_c7612344dfd916b123bc3451be64bb3d}


Sets layout manager \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em manager}]layout manager \end{description}
\end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
H:/projs/dot\-NET/eda/src/tk/gui/tk\_\-container.h\item 
H:/projs/dot\-NET/eda/src/tk/gui/tk\_\-container.cpp\end{CompactItemize}
