\section{KWin::Info Struct Reference}
\label{structKWin_1_1Info}\index{KWin::Info@{KWin::Info}}
Information about a window.  


{\tt \#include $<$kwin.h$>$}

Collaboration diagram for KWin::Info:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=167pt]{structKWin_1_1Info__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf is\-Iconified} () const 
\begin{CompactList}\small\item\em Checks whether the window is iconified (minimized). \item\end{CompactList}\item 
{\bf QString} {\bf visible\-Name\-With\-State} () const 
\begin{CompactList}\small\item\em Returns a visible name with state. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
WId {\bf win}
\begin{CompactList}\small\item\em The window's id. \item\end{CompactList}\item 
long unsigned int {\bf state}
\begin{CompactList}\small\item\em The window's state. \item\end{CompactList}\item 
{\bf NET::Mapping\-State} {\bf mapping\-State}
\begin{CompactList}\small\item\em The mapping state. \item\end{CompactList}\item 
{\bf NETStrut} {\bf strut}
\begin{CompactList}\small\item\em The strut. \item\end{CompactList}\item 
{\bf NET::Window\-Type} {\bf window\-Type}
\begin{CompactList}\small\item\em The window type. \item\end{CompactList}\item 
{\bf QString} {\bf visible\-Name}
\begin{CompactList}\small\item\em The visible name of the window. \item\end{CompactList}\item 
{\bf QString} {\bf name}
\begin{CompactList}\small\item\em The name of the window. \item\end{CompactList}\item 
int {\bf desktop}
\begin{CompactList}\small\item\em The number of the window's desktop. \item\end{CompactList}\item 
bool {\bf on\-All\-Desktops}
\begin{CompactList}\small\item\em true if the window is on all desktops. \item\end{CompactList}\item 
pid\_\-t {\bf pid}
\begin{CompactList}\small\item\em The process id of the window's owner. \item\end{CompactList}\item 
{\bf QRect} {\bf geometry}
\begin{CompactList}\small\item\em Position and size of the window contents. \item\end{CompactList}\item 
{\bf QRect} {\bf frame\-Geometry}
\begin{CompactList}\small\item\em Position and size of the window's frame. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Information about a window. 



Definition at line 91 of file kwin.h.

\subsection{Member Function Documentation}
\index{KWin::Info@{KWin::Info}!isIconified@{isIconified}}
\index{isIconified@{isIconified}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KWin::Info::is\-Iconified () const\hspace{0.3cm}{\tt  [inline]}}\label{structKWin_1_1Info_a0}


Checks whether the window is iconified (minimized). 

\begin{Desc}
\item[Returns:]true if iconified \end{Desc}


Definition at line 117 of file kwin.h.

References mapping\-State.

Referenced by visible\-Name\-With\-State().\index{KWin::Info@{KWin::Info}!visibleNameWithState@{visibleNameWithState}}
\index{visibleNameWithState@{visibleNameWithState}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KWin::Info::visible\-Name\-With\-State () const}\label{structKWin_1_1Info_a1}


Returns a visible name with state. 

This is a simple convenience function that returns the visible name but with parentheses around iconified windows \begin{Desc}
\item[Returns:]the window name with state\end{Desc}


Definition at line 397 of file kwin.cpp.

References QString::append(), is\-Iconified(), QString::prepend(), and visible\-Name.

\subsection{Member Data Documentation}
\index{KWin::Info@{KWin::Info}!win@{win}}
\index{win@{win}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}WId {\bf KWin::Info::win}}\label{structKWin_1_1Info_o0}


The window's id. 



Definition at line 94 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!state@{state}}
\index{state@{state}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long unsigned int {\bf KWin::Info::state}}\label{structKWin_1_1Info_o1}


The window's state. 



Definition at line 96 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!mappingState@{mappingState}}
\index{mappingState@{mappingState}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf NET::Mapping\-State} {\bf KWin::Info::mapping\-State}}\label{structKWin_1_1Info_o2}


The mapping state. 



Definition at line 98 of file kwin.h.

Referenced by KWin::info(), and is\-Iconified().\index{KWin::Info@{KWin::Info}!strut@{strut}}
\index{strut@{strut}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf NETStrut} {\bf KWin::Info::strut}}\label{structKWin_1_1Info_o3}


The strut. 



Definition at line 100 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!windowType@{windowType}}
\index{windowType@{windowType}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf NET::Window\-Type} {\bf KWin::Info::window\-Type}}\label{structKWin_1_1Info_o4}


The window type. 



Definition at line 102 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!visibleName@{visibleName}}
\index{visibleName@{visibleName}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} {\bf KWin::Info::visible\-Name}}\label{structKWin_1_1Info_o5}


The visible name of the window. 



Definition at line 104 of file kwin.h.

Referenced by KWin::info(), and visible\-Name\-With\-State().\index{KWin::Info@{KWin::Info}!name@{name}}
\index{name@{name}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} {\bf KWin::Info::name}}\label{structKWin_1_1Info_o6}


The name of the window. 



Definition at line 106 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!desktop@{desktop}}
\index{desktop@{desktop}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int {\bf KWin::Info::desktop}}\label{structKWin_1_1Info_o7}


The number of the window's desktop. 



Definition at line 108 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!onAllDesktops@{onAllDesktops}}
\index{onAllDesktops@{onAllDesktops}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool {\bf KWin::Info::on\-All\-Desktops}}\label{structKWin_1_1Info_o8}


true if the window is on all desktops. 



Definition at line 110 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!pid@{pid}}
\index{pid@{pid}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}pid\_\-t {\bf KWin::Info::pid}}\label{structKWin_1_1Info_o9}


The process id of the window's owner. 



Definition at line 112 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!geometry@{geometry}}
\index{geometry@{geometry}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QRect} {\bf KWin::Info::geometry}}\label{structKWin_1_1Info_o10}


Position and size of the window contents. 



Definition at line 119 of file kwin.h.

Referenced by KWin::info().\index{KWin::Info@{KWin::Info}!frameGeometry@{frameGeometry}}
\index{frameGeometry@{frameGeometry}!KWin::Info@{KWin::Info}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QRect} {\bf KWin::Info::frame\-Geometry}}\label{structKWin_1_1Info_o11}


Position and size of the window's frame. 



Definition at line 121 of file kwin.h.

Referenced by KWin::info().

The documentation for this struct was generated from the following files:\begin{CompactItemize}
\item 
kwin.h\item 
kwin.cpp\end{CompactItemize}
