\section{Module: \module{soya.widget}}
\declaremodule{standard}{soya.widget}
\subsection{Functions}
\begin{funcdesc}{glAccum}{...}
\end{funcdesc}

\begin{funcdesc}{glBegin}{...}
\end{funcdesc}

\begin{funcdesc}{glBindTexture}{...}
\end{funcdesc}

\begin{funcdesc}{glCallList}{...}
\end{funcdesc}

\begin{funcdesc}{glClearColor}{...}
\end{funcdesc}

\begin{funcdesc}{glColor4f}{...}
\end{funcdesc}

\begin{funcdesc}{glDeleteList}{...}
\end{funcdesc}

\begin{funcdesc}{glDisable}{...}
\end{funcdesc}

\begin{funcdesc}{glEnable}{...}
\end{funcdesc}

\begin{funcdesc}{glEnd}{...}
\end{funcdesc}

\begin{funcdesc}{glEndList}{...}
\end{funcdesc}

\begin{funcdesc}{glGenList}{...}
\end{funcdesc}

\begin{funcdesc}{glGenLists}{...}
\end{funcdesc}

\begin{funcdesc}{glGenTextures}{...}
\end{funcdesc}

\begin{funcdesc}{glLightModeli}{...}
\end{funcdesc}

\begin{funcdesc}{glLineWidth}{...}
\end{funcdesc}

\begin{funcdesc}{glLoadIdentity}{...}
\end{funcdesc}

\begin{funcdesc}{glNewList}{...}
\end{funcdesc}

\begin{funcdesc}{glNormal3f}{...}
\end{funcdesc}

\begin{funcdesc}{glPixelStorei}{...}
\end{funcdesc}

\begin{funcdesc}{glPointSize}{...}
\end{funcdesc}

\begin{funcdesc}{glPopMatrix}{...}
\end{funcdesc}

\begin{funcdesc}{glPushMatrix}{...}
\end{funcdesc}

\begin{funcdesc}{glRotatef}{...}
\end{funcdesc}

\begin{funcdesc}{glTexCoord2f}{...}
\end{funcdesc}

\begin{funcdesc}{glTranslated}{...}
\end{funcdesc}

\begin{funcdesc}{glTranslatef}{...}
\end{funcdesc}

\begin{funcdesc}{glVertex2f}{...}
\end{funcdesc}

\begin{funcdesc}{glVertex2i}{...}
\end{funcdesc}

\begin{funcdesc}{glVertex3f}{...}
\end{funcdesc}

\subsection{Classes}
\begin{classdesc*}{Banner}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{add_elements_from_strings}{self, strings=[], attribs={}, separator=None}
\end{methoddesc}

\begin{methoddesc}{add_elements_from_tuples}{self, tuples=[], key_attribs={}, value_attribs={}, separator=None}
\end{methoddesc}

\begin{methoddesc}{advance_time}{self, proportion}
\end{methoddesc}

\begin{methoddesc}{set_elements}{self, elements, separator=None}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{BannerElement}
No documentation for this class.

\begin{methoddesc}{compute_size}{self, width=None}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Choice}
No documentation for this class.

\begin{methoddesc}{decrement}{self}
\end{methoddesc}

\begin{methoddesc}{get_label}{self}
\end{methoddesc}

\begin{methoddesc}{increment}{self}
\end{methoddesc}

\begin{methoddesc}{key_down}{self, key_id, mods}
\end{methoddesc}

\begin{methoddesc}{mouse_click}{self, button}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{ChoiceInput}
No documentation for this class.

\begin{methoddesc}{get_label}{self}
\end{methoddesc}

\begin{methoddesc}{key_down}{self, key_id, mods}
\end{methoddesc}

\begin{methoddesc}{mouse_click}{self, button}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{ChoiceList}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{key_down}{self, key_id, mods}
\end{methoddesc}

\begin{methoddesc}{mouse_move}{self, x, y}
\end{methoddesc}

\begin{methoddesc}{process_event}{self, event}
\end{methoddesc}

\begin{methoddesc}{render}{self}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Clearer}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{render}{self}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{FPSLabel}
Inherits:
\class{Label}
\class{Widget}

FPSLabel

A label that shows the FPS.
It works ONLY with soya.idler !!!

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\begin{methoddesc}{widget_begin_round}{self}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Group}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{add}{self, widget}
\end{methoddesc}

\begin{methoddesc}{insert}{self, index, widget}
\end{methoddesc}

\begin{methoddesc}{remove}{self, widget}
\end{methoddesc}

\begin{methoddesc}{render}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\begin{methoddesc}{widget_advance_time}{self, proportion}
\end{methoddesc}

\begin{methoddesc}{widget_begin_round}{self}
\end{methoddesc}

\begin{methoddesc}{widget_end_round}{self}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{HorizontalBanner}
Inherits:
\class{Banner}
\class{Widget}

No documentation for this class.

\begin{methoddesc}{init}{self}
\end{methoddesc}

\begin{methoddesc}{render}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Image}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{render}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Label}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{build_display_list}{self}
Label.build\_display\_list()

Really renders the text.

If you override this method, DO NOT SET self.text or self.\_set here !!!
It might call glyph tessellation that would be included in the display list !
\end{methoddesc}

\begin{methoddesc}{get_align}{self}
\end{methoddesc}

\begin{methoddesc}{get_color}{self}
\end{methoddesc}

\begin{methoddesc}{get_font}{self}
\end{methoddesc}

\begin{methoddesc}{get_text}{self}
\end{methoddesc}

\begin{methoddesc}{render}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\begin{methoddesc}{set_align}{self, x}
\end{methoddesc}

\begin{methoddesc}{set_color}{self, x}
\end{methoddesc}

\begin{methoddesc}{set_font}{self, x}
\end{methoddesc}

\begin{methoddesc}{set_text}{self, x}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Selector}
Inherits:
\class{Widget}

No documentation for this class.

\begin{methoddesc}{draw_arrow}{self, top, yoffset}
\end{methoddesc}

\begin{methoddesc}{get_choice_at}{self, y}
\end{methoddesc}

\begin{methoddesc}{process_event}{self, event}
\end{methoddesc}

\begin{methoddesc}{render}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\begin{methoddesc}{scroll}{self}
\end{methoddesc}

\begin{methoddesc}{scroll_down}{self}
\end{methoddesc}

\begin{methoddesc}{scroll_up}{self}
\end{methoddesc}

\begin{methoddesc}{select}{self, index}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{VerticalBanner}
Inherits:
\class{Banner}
\class{Widget}

No documentation for this class.

\begin{methoddesc}{init}{self}
\end{methoddesc}

\begin{methoddesc}{render}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\end{classdesc*}

\begin{classdesc*}{Widget}
Inherits:

No documentation for this class.

\begin{methoddesc}{get_resize_style}{self}
\end{methoddesc}

\begin{methoddesc}{resize}{self, parent_left, parent_top, parent_width, parent_height}
\end{methoddesc}

\begin{methoddesc}{set_resize_style}{self, resize_style}
\end{methoddesc}

\begin{methoddesc}{widget_advance_time}{self, proportion}
\end{methoddesc}

\begin{methoddesc}{widget_begin_round}{self}
\end{methoddesc}

\begin{methoddesc}{widget_end_round}{self}
\end{methoddesc}

\end{classdesc*}

\subsection{Constants}
\begin{datadesc}{WIDGET_RESIZE_MAXIMIZE}
\end{datadesc}
