<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY appversion "3.1.0">
<!ENTITY manrevision "3.0">
<!ENTITY app "Glade">
]>
<!-- 
  Maintained by the GNOME Documentation Project
  http://developer.gnome.org/projects/gdp
  Template version: 2.0 beta
  Template last modified Apr 11, 2002
-->
<article id="index" lang="en">

  <articleinfo> 
    <title>Руководство по редактору интерфейса Glade</title> 
      
    <abstract role="description"><para>Glade - это редактор пользовательского интерфейса для приложений GTK+.</para>
    </abstract>

    <copyright> 
      <year>2006</year> 
      <holder>Vincent Geddes</holder> 
    </copyright>
    <copyright> 
      <year>2004</year>
      <year>2003</year>
      <holder>Sun Microsystems</holder> 
    </copyright> 
    <copyright> 
      <year>2002</year><year>2000</year> 
      <holder>Michael Vance</holder> 
    </copyright> 

    <publisher> 
      <publishername>Проект документирования GNOME</publishername> 
    </publisher> 

   <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <authorgroup> 
      <author role="maintainer"> 
	<firstname>Vincent</firstname> 
	<surname>Geddes</surname> 
	<affiliation> 
	  <orgname>Проект документирования GNOME</orgname>
	  <address><email>vincent.geddes@gmail.com</email></address>
	</affiliation>
      </author> 
      <author> 
        <firstname>Sun</firstname> 
        <surname>Команда документирования GNOME</surname> 
        <affiliation> 
          <orgname>Sun Microsystems</orgname> 
        </affiliation> 
       </author> 
       <author> 
         <firstname>Michael</firstname> 
         <surname>Vance</surname> 
         <affiliation> 
           <orgname>Проект документирования GNOME</orgname> 
           </affiliation> 
       </author> 
    </authorgroup>


<!-- According to GNU FDL, revision history is mandatory if you are -->
<!-- modifying/reusing someone else's document.  If not, you can omit it. -->
<!-- Remember to remove the &manrevision; entity from the revision entries other
-->
<!-- than the current revision. -->
<!-- The revision numbering system for GNOME manuals is as follows: -->
<!-- * the revision number consists of two components -->
<!-- * the first component of the revision number reflects the release version of the GNOME desktop. -->
<!-- * the second component of the revision number is a decimal unit that is incremented with each revision of the manual. -->
<!-- For example, if the GNOME desktop release is V2.x, the first version of the manual that -->
<!-- is written in that desktop timeframe is V2.0, the second version of the manual is V2.1, etc. -->
<!-- When the desktop release version changes to V3.x, the revision number of the manual changes -->
<!-- to V3.0, and so on. -->  
    <revhistory>
        <revision> 
		<revnumber>Руководство к Glade версии 3.0</revnumber> 
		<date>5 декабря 2006 г.</date>
		<revdescription> 
	  		<para role="author">Vincent Geddes</para>
	  		<para role="publisher">Проект документирования GNOME</para>
		</revdescription> 
        </revision>
        <revision> 
                <revnumber>Руководство к Glade версии 2.1;</revnumber> 
                <date>17 июня 2004 г.</date> 
                <revdescription> 
                        <para role="author">Команда документирования GNOME фирмы Sun</para>
                        <para role="publisher">Проект документирования GNOME</para>
                </revdescription> 
        </revision>
        <revision> 
                <revnumber>Руководство пользователя к Glade версия 2.0</revnumber> 
                <date>25 февраля 2004 г.</date> 
                <revdescription> 
                        <para role="author">Команда документирования GNOME фирмы Sun</para>
                        <para role="publisher">Проект документирования GNOME</para>
                </revdescription> 
        </revision>             
        <revision> 
                <revnumber>Руководство пользователя к Glade версия 1.2</revnumber> 
                <date>10 февраля 2004 г.</date> 
                <revdescription> 
                        <para role="author">Команда документирования GNOME фирмы Sun</para>
                        <para role="publisher">Проект документирования GNOME</para>
                </revdescription> 
        </revision>  
        <revision> 
                <revnumber>Руководство пользователя к Glade версия 1.1</revnumber> 
                <date>30 марта 2002 года</date> 
                <revdescription> 
                        <para role="author">Michael Vance</para>
                        <para role="publisher">Проект документирования GNOME</para>
                </revdescription> 
        </revision> 
        <revision> 
                <revnumber>Руководство пользователя к Glade версия 1.0</revnumber> 
                <date>11 мая 2000 г.</date> 
                <revdescription> 
                        <para role="author">Michael Vance</para>
                        <para role="publisher">Проект документирования GNOME</para>
                </revdescription> 
        </revision> 
    </revhistory> 

    <releaseinfo>Это руководство описывает Glade версии 3.1.0.</releaseinfo> 
    <legalnotice> 
      <title>Обратная связь</title> 
      <para>To report a bug or make a suggestion regarding the Glade application or
      this manual, follow the directions in the <ulink url="ghelp:gnome-feedback" type="help">GNOME Feedback Page</ulink>.
      </para>
<!-- Translators may also add here feedback address for translations -->
    </legalnotice> 
  </articleinfo> 

    <indexterm><primary>glade</primary></indexterm>
    <indexterm><primary>редактор пользовательского интерфейса</primary></indexterm>


<!-- ============= Document Body ============================= -->
<!-- ============= Introduction ============================== -->
<!-- Use the Introduction section to give a brief overview of what
     the application is and what it does. -->
  <sect1 id="introduction"> 
    <title>Введение</title> 

    <para>The <application>Glade</application> interface designer enables you to create and edit user interface designs for 
    <application>GTK+</application> applications.</para>

    <para>The GTK+ library provides an extensive collection of user interface building blocks
    such as text boxes, dialog labels, numeric entries, check boxes, and menus. These
    building blocks are called <emphasis>widgets</emphasis>. You can use Glade to place widgets in a GUI. Glade allows you
    to modify the layout and properties of these widgets. You can also use Glade to add connections between
    widgets and application source code.</para>

    <para>The user interfaces designed in Glade are stored in an XML format, enabling easy integration 
    with external tools. You can use the <application>libglade</application> library to dynamically create
    GUIs from the XML description.</para>

  </sect1>

  <sect1 id="getting-started"> 
    <title>Первые шаги</title> 

    <sect2 id="glade-start">
    <title>Запуск <application>Glade</application></title>
    <para>You can start <application>Glade</application> in the following ways:
    </para> 
    <variablelist>
    	<varlistentry>
    		<term><guimenu>Applications</guimenu> menu</term>
    		<listitem>
    		<para>Choose 
    		<menuchoice>
    		<guisubmenu>Programming</guisubmenu>
    		<guimenuitem>Glade Interface Designer</guimenuitem>
    		</menuchoice>. </para>
    		</listitem>
    	</varlistentry>
    	<varlistentry>
    		<term>Командная строка</term>
    		<listitem>
    		<para>To start <application>Glade</application> from a command line, type the following command, 
    		then press <keycap>Return</keycap>: <command>glade-3</command></para>	 
    		</listitem>
    	</varlistentry>
    </variablelist>
    </sect2>

    <sect2 id="glade-when-start">
    <title>Когда вы запускаете <application>Glade</application></title>
    <para>When you start <application>Glade</application>, the following window is displayed.</para>

        <figure id="main-window-fig"> 
          <title>Окно <application>Glade</application></title> 
            <screenshot> 
              <mediaobject>
                <imageobject><imagedata fileref="figures/main-window.png" format="PNG"/></imageobject>
                <textobject><phrase>Показывает окно <application>Glade</application></phrase></textobject> 
              </mediaobject> 
            </screenshot> 
        </figure>
        
        <para>The <application>Glade</application> window contains the following elements: </para>

        <variablelist>
          <varlistentry> <term>Строка меню</term>
            <listitem>
            <para>The menus on the menubar contain all of the commands you need to work with files in <application>Glade</application>.</para>
            </listitem>
          </varlistentry>
          <varlistentry> <term>Панель инструментов</term>
            <listitem>
            <para>Панель инструментов содержит часть команд, к которым вы имеете доступ в строке меню.</para>
            </listitem>
          </varlistentry>
          <varlistentry> <term>Область конструирования</term>
            <listitem>
            <para>В области конструирования пользовательский интерфейс может быть отредактирован с помощью мыши.</para>
            </listitem>
          </varlistentry>
          <varlistentry> <term>Палитра</term>
            <listitem>
            <para>Палитра содержит виджеты, которые могут быть использованы при создании пользовательского интерфейса</para>
            </listitem>
          </varlistentry>
          <varlistentry> <term>Структура проекта</term>
            <listitem>
            <para>Окно структуры проекта отображает информацию о виджетах в проекте.</para>
            </listitem>
          </varlistentry>
          <varlistentry> <term>Редактор свойств</term>
            <listitem>
            <para>Редактор свойств позволяет управлять свойствами виджетов, а также добавлять связи с исходным кодом.</para>
            </listitem>
          </varlistentry>
          <varlistentry> <term>Строка статуса</term>
            <listitem>
            <para>The statusbar displays information about current <application>Glade</application> activity and contextual information about the menu items.</para>
            </listitem>
          </varlistentry>
        </variablelist>

    </sect2>
  </sect1>

  <sect1 id="working-with-projects"> 
         <title>Работа с проектами</title> 
  
 
<!-- To Create a New Project  -->
	 <sect2 id="glade-create-new-project"> 
		<title>Создание нового проекта</title>
		<para>To create a new project, choose <menuchoice><guimenu>File</guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application displays a new blank project in the <application>Glade</application> window.</para>
	 </sect2>

	 <sect2 id="glade-open-project"> 
		<title>Открытие проекта</title>
		<para>To open an existing project, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice>. The application displays the project in the <application>Glade</application> window.</para>
	 </sect2>

<!-- To Save a Project -->
	 <sect2 id="glade-save-project"> 
		<title>Сохранение проекта</title>
		<para>Вы можете сохранять проекты следующими способами:</para>
		<itemizedlist> 
		  <listitem><para>To save changes to an existing project file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Save</guimenuitem></menuchoice>. </para>
		  </listitem>
		  <listitem><para>To save a new project file or to save an existing project file under a new filename, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Save As</guimenuitem> </menuchoice>. Enter a name for the project file in the <guilabel>Save As</guilabel> dialog, then click <guibutton>Save</guibutton>. </para>
		  </listitem>
		</itemizedlist>
	 </sect2>
  </sect1>


  <sect1 id="working-with-widgets"> 
         <title>Работа с виджетами</title>
         <sect2 id="select-widgets-palette">
                <title>Выбор виджетов из окна палитры</title>
                <para>
                  You can work with the widgets in the 
                  <guilabel>Палитра</guilabel> window in the following
ways:
                </para>
                <variablelist> 
                  <varlistentry> 
                         <term>Режим выделения</term> 
                         <listitem>
                                <para>
                                  To use selection mode,
 click on the 
                                  <guilabel>Selector</guilabel> arrow. The
pointer changes to an
                                  arrow to indicate that selection mode is
active. In this mode, you use the mouse to select widgets in your project.
You can then use the <guilabel>Properties</guilabel> window to edit the
properties of the widgets.</para>
<para>Вы можете использовать также контекстное меню для выбора виджета. Щелчок правой кнопкой мыши открывает контекстное меню виджета.</para><para>You
can add multiple widgets of a specific type from the
<guilabel>Палитра</guilabel> to your project by holding down the
<keycap>Control</keycap> key when you select a widget. You need to click on
the <guilabel>Selector</guilabel> arrow or another widget in the
<guilabel>Палитра</guilabel> to return to normal mode.</para>
                         </listitem> 
                  </varlistentry> 
                </variablelist> 
                <variablelist> 
                  <varlistentry> 
                         <term>Режим размещения виджета</term> 
                         <listitem> 
                                <para>
                                  To use widget placement mode, select a
widget in the 
                                  <guilabel>Палитра</guilabel> window. When
you select most widgets, the
                                  pointer changes to a pointer-plus-cross.
You can then place the widget inside containers,
                                  top-level  widgets, and so on. After you
place a widget, the mode returns to
                                  selection mode.</para>
                         </listitem> 
                  </varlistentry> 
                </variablelist> 
                <variablelist> 
                  <varlistentry> 
                         <term>Режим размещения в верхнем уровне</term> 
                         <listitem> 
                                <para>
                                  To use top level placement mode, select a
defined top-level
                                  widget in the
<application>Палитра</application> window. When you select a top-level
                                  widget in the 
                                  <guilabel>Палитра</guilabel> window, the
widget appears
                                  immediately on your desktop. You can then
edit the widget. After you select a top-level widget,
                                  the mode returns to selection mode.
                                </para>
                         </listitem> 
                  </varlistentry> 
                </variablelist> 
         </sect2>
<sect2 id="organize-widgets">
<title>Организация виджетов в проекте</title>
<para>You use widget containers, or boxes, to layout and organize widgets
in your project window. You can choose the following widget containers from
the <guilabel>Палитра</guilabel> window:
</para>
<itemizedlist>
<listitem><para>Горизонтальный контейнер</para>
</listitem><listitem><para>Вертикальный контейнер</para></listitem>
<listitem><para>Таблица</para></listitem>
<listitem><para>Фиксированный</para></listitem>
<listitem><para>Горизонтальная группа кнопок</para></listitem>
<listitem><para>Вертикальная группа кнопок</para></listitem>
<listitem><para>Горизонтальная панель</para></listitem>
<listitem><para>Вертикальная панель</para></listitem>
<listitem><para>Записная книжка</para></listitem>
<listitem><para>Рамка</para></listitem>
<listitem><para>Прокручиваемое окно</para></listitem>
<listitem><para>Окно просмотра</para></listitem>
</itemizedlist>
<para>
You can  nest boxes  to create complex layout structures. When you create
horizontal and vertical boxes, <application>Glade</application> asks you
how many rows or columns to create initially, though rows and columns can
easily be added or deleted later. 
</para>
<para>
When you have created all the boxes you require, you can add specific
widgets like labels, buttons, and more complicated widgets into the boxes.
Notice that <application>Glade</application> packs widgets into the layout
which eliminates a lot of tedious work. The use of boxes enables windows to
change size to accommodate different size labels in different languages
when the application is localized.</para></sect2>
         <sect2 id="place-widgets-clipboard"> 
                <title>Перемещение виджета в буфер обмена</title> 
                <para>
                  To remove a widget from a parent and place the widget on
the clipboard,
                  select the widget then choose 
                  <menuchoice> 
                         <guimenu>Edit</guimenu> 
                         <guisubmenu>Cut</guisubmenu> 
                  </menuchoice>. 
                </para>
         </sect2> 
         <sect2 id="copy-widget-clipboard"> 
                <title>Копирование виджета в буфер обмена</title> 
                <para>
                  To copy a widget to the clipboard, select the widget then
choose 
                  <menuchoice> 
                         <guimenu>Edit</guimenu> 
                         <guisubmenu>Copy</guisubmenu> 
                  </menuchoice>. The original widget remains attached to
the parent. 
                </para>
         </sect2> 
         <sect2 id="paste-widget-clipboard"> 
                <title>Вставка виджета из буфера обмена в проект</title> 
                <para>
                  To paste a widget that exists on the clipboard into your
project,
                  choose 
                  <menuchoice> 
                         <guimenu>Edit</guimenu> 
                         <guisubmenu>Paste</guisubmenu> 
                  </menuchoice>.</para><para>All widgets must have a unique
name within <application>Glade</application>. If you cut a widget, and then
paste the widget into your project, then the widget and all of the children
of the widget keep their original names. If you copy a widget, or paste the
widget multiple times into your project, then
<application>Glade</application> generates new names for the widget
copies.</para>
         </sect2> 
         <sect2 id="delete-widget"> 
                <title>Удаление виджета</title> 
                <para>To delete a widget from the parent without
                  moving the widget to the clipboard, 
                                select the widget then 
                                choose 
                                <menuchoice> 
                                  <guimenu>Edit</guimenu> 
                                  <guisubmenu>Delete</guisubmenu> 
                                </menuchoice>. 
                         </para>
                 
         </sect2> 
         
         <sect2 id="edit-widget"> 
                <title>Изменение свойства виджета</title> 
                <para>Редактор свойств используется для редактирования свойств выбранного виджета. Для того, чтобы изменить свойство виджета, выберите виджет и введите подходящее значение в одно из полей свойств окна свойств.</para>
                
                
         </sect2> 
  </sect1>
  
<sect1 id="about"> 
    <title>О программе Glade</title> 
    <para> Glade is maintained by the Glade developers and GNOME community volunteers.
      To find more information about Glade, please visit the 
      <ulink url="http://glade.gnome.org" type="http">Glade 
      Web site</ulink>.</para>
    <para>
      To report a bug or make a suggestion regarding this application or
      this manual, you can submit them using 
      <ulink url="http://bugzilla.gnome.org/enter_bug.cgi?product=glade3" type="http">bugzilla</ulink>.
    </para>

    <para>
      Another excellent source of information are the Glade 
      <ulink url="http://lists.ximian.com/mailman/listinfo/glade-users" type="http">user</ulink> and 
      <ulink url="http://lists.ximian.com/mailman/listinfo/glade-devel" type="http">developer</ulink> mailing lists.  In addition to 
      subscribing, you might also want to browse the list archives, available
      via these same links.
    </para>

    <para> This program is distributed under the terms of the GNU
      General Public license as published by the Free Software
      Foundation; either version 2 of the License, or (at your option)
      any later version. A copy of this license can be found at this
      <ulink url="ghelp:gpl" type="help">link</ulink>, or in the file
      COPYING included with the source code of this program. </para>
  </sect1> 

</article>
