<!--
* 
*
*  ProLinga-Doc
*
*  Copyright (C) 2002-2008 Xobas Software.
*  All rights reserved.
*  
*  This file is part of ProLinga-Doc.
*
*  ProLinga-Doc is free software: you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation, either version 3 of the License, or
*  (at your option) any later version.
*
*  ProLinga-Doc is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with ProLinga-Doc.  If not, see <http://www.gnu.org/licenses/>.
*
*  More information is available at the following addresses:
*
*  Website     : http://www.prolinga.org
*
*  Email       : prolinga-list@prolinga.org
*
*
-->
<refentry id="obj_screen">
  <refmeta>
    <refentrytitle>Screen Object</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>

  <refnamediv>
    <refname>Screen</refname>
    <refpurpose>Holds window and dialog information.</refpurpose>
  </refnamediv>

  <refsect1 id="obj_screen_introduction">
    <title>Introduction</title>
    <para>
      Holds window and dialog information in the Glade-2 format.
    </para>
  </refsect1>

  <refsect1 id="obj_screen_properties">
    <title>Properties</title>

    <table frame='all' pgwide='1'>
      <title>Screen Object Properties</title>
      <tgroup cols='4' align='left' colsep='1' rowsep='1'>
        <thead>
          <row>
            <entry>Name</entry>
            <entry>Details</entry>
            <entry>Possible Values</entry>
            <entry>Default Value</entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry>DisplayData</entry>
            <entry>Screen display data in glade-2 format.</entry>
            <entry>Glade document</entry>
            <entry>-</entry>
          </row>
          <row>
            <entry>AllowMultipleInstances</entry>
            <entry>Are multiple instances of the same screen allowed.</entry>
            <entry>True, False</entry>
            <entry>False</entry>
          </row>
          <row>
            <entry>Description</entry>
            <entry>Description to be used in lists.</entry>
            <entry>*</entry>
            <entry>-</entry>
          </row>
          <row>
            <entry>DetailDescription</entry>
            <entry>Detailed description.</entry>
            <entry>*</entry>
            <entry>-</entry>
          </row>
          <row>
            <entry>Modified</entry>
            <entry>Modification date-time stamp in ISO 8601 format.</entry>
            <entry><replaceable>ccyy-mm-dd</replaceable>T<replaceable>hh:mm:ss</replaceable></entry>
            <entry><replaceable>date stamp</replaceable></entry>
          </row>
        </tbody>
      </tgroup>
    </table>

  </refsect1>

  <refsect1 id="obj_screen_example">
    <title>Example</title>
<programlisting><![CDATA[
<Object Application="MyOrder" Type="Screen" Name="Order">
  <Screen>
    <DisplayData>
      <glade-interface>
        <widget class="GtkWindow" id="Order">
          <property name="visible">True</property>
          <property name="title" translatable="yes">Function</property>
          <property name="type">GTK_WINDOW_TOPLEVEL</property>
          <property name="window_position">GTK_WIN_POS_CENTER</property>
          <property name="modal">False</property>
          <property name="default_width">500</property>
          <property name="default_height">400</property>
          <property name="resizable">True</property>
          <property name="destroy_with_parent">True</property>
          <child>
            <widget class="GtkVBox" id="vbox1">
              <property name="visible">True</property>
              <property name="homogeneous">False</property>
              <property name="spacing">0</property>
              <child>
                . . . .
                . . . .
                . . . .
                . . . .
              </child>
              <child>
                <widget class="GtkStatusbar" id="statusbar1">
                  <property name="visible">True</property>
                  <property name="has_resize_grip">True</property>
                </widget>
                <packing>
                  <property name="padding">5</property>
                  <property name="expand">False</property>
                  <property name="fill">False</property>
                </packing>
              </child>
            </widget>
          </child>
        </widget>
      </glade-interface>
    </DisplayData>
    <AllowMultipleInstances>True</AllowMultipleInstances>
    <Description/>
    <DetailDescription/>
    <Modified/>
  </Screen>
</Object>
]]></programlisting>
  </refsect1>

</refentry>

