\section{Tk\-Text Class Reference}
\label{class_tk_text}\index{TkText@{TkText}}
Represent \char`\"{}text\char`\"{} widget.  


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

Inheritance diagram for Tk\-Text::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12cm]{class_tk_text}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
const {\bf Ptr}$<$ Tk\-Option\-Def $>$ $\ast$ {\bf get\-Option\-All} () const 
\begin{CompactList}\small\item\em Returns array of all avaliable options valid for specific widget type. \item\end{CompactList}\item 
const char $\ast$ {\bf get\-Type} () const 
\begin{CompactList}\small\item\em Return type of class. \item\end{CompactList}\item 
const char $\ast$ {\bf get\-Tk\-Class} () const 
\begin{CompactList}\small\item\em Returns type of widget. \item\end{CompactList}\item 
{\bf TObject} $\ast$ {\bf clone} ()
\begin{CompactList}\small\item\em Create deep-clone of object. \item\end{CompactList}\item 
int {\bf get\-Last\-Line} () const 
\item 
const string \& {\bf get\-Line} (int index) const 
\item 
void {\bf clear\-All} ()
\item 
void {\bf create} ()\label{class_tk_text_21140cdbfc5adac008803f2a52633d13}

\begin{CompactList}\small\item\em Creates widget in shell. \item\end{CompactList}\item 
void {\bf set\-Background\-Color} (Tk\-Color\-Option $\ast$color)
\begin{CompactList}\small\item\em Set background color. \item\end{CompactList}\item 
{\bf Ptr}$<$ Tk\-Color\-Option $>$ \& {\bf get\-Background\-Color} () const 
\begin{CompactList}\small\item\em Returns background color of widget. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Represent \char`\"{}text\char`\"{} widget. 

\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{TkText@{Tk\-Text}!clearAll@{clearAll}}
\index{clearAll@{clearAll}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Text::clear\-All ()\hspace{0.3cm}{\tt  [inline]}}\label{class_tk_text_bb9a9a62d0f1ae5801e44248e625ec60}


Delete all text \index{TkText@{Tk\-Text}!clone@{clone}}
\index{clone@{clone}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TObject} $\ast$ Tk\-Text::clone ()\hspace{0.3cm}{\tt  [virtual]}}\label{class_tk_text_a57a4061e6b07e21891be7a967c53f91}


Create deep-clone of object. 

\begin{Desc}
\item[Returns:]deep-clone of object \end{Desc}


Implements {\bf Tk\-Base} {\rm (p.\,\pageref{class_tk_base_eeacc64c3f35a0f65819595fa0f5e3c6})}.\index{TkText@{Tk\-Text}!getBackgroundColor@{getBackgroundColor}}
\index{getBackgroundColor@{getBackgroundColor}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Ptr}$<$ Tk\-Color\-Option $>$ \& Tk\-Text::get\-Background\-Color () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_tk_text_03c0a2d825c5a3dce8fcd1404699eeca}


Returns background color of widget. 

\begin{Desc}
\item[Returns:]background color \end{Desc}


Implements {\bf Tk\-Base} {\rm (p.\,\pageref{class_tk_base_104d02d466da4b0894a099b72b12cb07})}.\index{TkText@{Tk\-Text}!getLastLine@{getLastLine}}
\index{getLastLine@{getLastLine}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Tk\-Text::get\-Last\-Line () const\hspace{0.3cm}{\tt  [inline]}}\label{class_tk_text_9f181413f9b3a8bc3cb6fb88cabbb0b7}


\begin{Desc}
\item[Returns:]number of lines in text \end{Desc}
\index{TkText@{Tk\-Text}!getLine@{getLine}}
\index{getLine@{getLine}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const string\& Tk\-Text::get\-Line (int {\em index}) const\hspace{0.3cm}{\tt  [inline]}}\label{class_tk_text_2c7ae7e11f47b8eab8f0ab6f91e46a88}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index}]index of line \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]content of line with index index, lines are indexed from 0 \end{Desc}
\index{TkText@{Tk\-Text}!getOptionAll@{getOptionAll}}
\index{getOptionAll@{getOptionAll}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ptr}$<$ Tk\-Option\-Def $>$ $\ast$ Tk\-Text::get\-Option\-All () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_tk_text_9fee034d6164ec34a26d3a3b98a9e61b}


Returns array of all avaliable options valid for specific widget type. 

\begin{Desc}
\item[Returns:]array of options \end{Desc}


Implements {\bf Tk\-Base} {\rm (p.\,\pageref{class_tk_base_89d93c80ff7a528f833e2ea45f1a10f6})}.\index{TkText@{Tk\-Text}!getTkClass@{getTkClass}}
\index{getTkClass@{getTkClass}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Tk\-Text::get\-Tk\-Class () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_tk_text_4c84eb8aa0f24934d8c12ee757f622c1}


Returns type of widget. 

Example values are \char`\"{}button\char`\"{},\char`\"{}menu\char`\"{},\char`\"{}entry\char`\"{} etc. \begin{Desc}
\item[Returns:]widget type \end{Desc}


Implements {\bf Tk\-Base} {\rm (p.\,\pageref{class_tk_base_2e57ed30603b2d16c02812df67e1f2fd})}.\index{TkText@{Tk\-Text}!getType@{getType}}
\index{getType@{getType}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Tk\-Text::get\-Type () const\hspace{0.3cm}{\tt  [virtual]}}\label{class_tk_text_1413702cbda682553d02b08afccebfc3}


Return type of class. 

\begin{Desc}
\item[Returns:]type of class \end{Desc}


Reimplemented from {\bf TXml\-Object} {\rm (p.\,\pageref{class_t_xml_object_1413702cbda682553d02b08afccebfc3})}.\index{TkText@{Tk\-Text}!setBackgroundColor@{setBackgroundColor}}
\index{setBackgroundColor@{setBackgroundColor}!TkText@{Tk\-Text}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Tk\-Text::set\-Background\-Color (Tk\-Color\-Option $\ast$ {\em color})\hspace{0.3cm}{\tt  [virtual]}}\label{class_tk_text_8afd70e6e3b95665d0c013f93c7fb9c5}


Set background color. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em color}]color value \end{description}
\end{Desc}


Implements {\bf Tk\-Base} {\rm (p.\,\pageref{class_tk_base_5b832cf60b0c72679e8460a876376226})}.

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